From 925a603c0b3affe16fc98fca9f81d392c2baed5b Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Tue, 24 Feb 2009 15:34:32 +0000 Subject: [PATCH] il manquait le + --- ecrire/inc/utils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php index 66e8cfc67a..128a89dcbc 100644 --- a/ecrire/inc/utils.php +++ b/ecrire/inc/utils.php @@ -807,8 +807,8 @@ function generer_url_entite($id='', $entite='', $args='', $ancre='', $public=NUL // Transformer les caracteres utf8 d'une URL (farsi par ex) selon la RFC 1738 function urlencode_1738($url) { return str_replace( - array('%2F','%3D','%3F','%26'), - array('/' ,'=' ,'?' ,'&'), + array('%2B','%2F','%3D','%3F','%26'), + array('+' ,'/' ,'=' ,'?' ,'&'), rawurlencode($url)); } -- GitLab