From 64ff118c37a65201d30607ce714593b810e35986 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sat, 25 Oct 2008 22:43:27 +0000
Subject: [PATCH] No special chars in filename

---
 htdocs/lib/functions.lib.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php
index 56429b9df12..3a30720a569 100644
--- a/htdocs/lib/functions.lib.php
+++ b/htdocs/lib/functions.lib.php
@@ -108,7 +108,7 @@ function dol_string_unaccent($str)
 		'%C3%99' => 'U','%C3%9A' => 'U'
 		);
 		$ret=strtr($string, $replacements);
-		return $ret;
+		return rawurldecode($ret);
 	}
 	else
 	{
-- 
GitLab