From 6bad3e9495a4e110b36f30cec12ef8f9391d8b68 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 23 Aug 2007 06:46:50 +0000 Subject: [PATCH] Correction du probleme du lien voir. Fixes #690 --- bureau/admin/bro_main.php | 1 - bureau/class/m_bro.php | 2 ++ debian/changelog | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index 28372d50..27d2859f 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -25,7 +25,6 @@ ---------------------------------------------------------------------- Original Author of file: Benjamin Sonntag, Remi Purpose of file: Online file Browser of AlternC - TODO : Voir ??? + Déplacer / Copier ---------------------------------------------------------------------- */ require_once("../class/config.php"); diff --git a/bureau/class/m_bro.php b/bureau/class/m_bro.php index d3b4a49d..d0a4a12a 100644 --- a/bureau/class/m_bro.php +++ b/bureau/class/m_bro.php @@ -481,6 +481,8 @@ class m_bro { // Is it in cache ? if (substr($dir,0,1)=="/") $dir=substr($dir,1); if (substr($dir,-1)=="/") $dir=substr($dir,0,-1); + $dir=str_replace("%2F", "/", urlencode($dir)); + $name=urlencode($name); if (!$this->cacheurl["d".$dir]) { // On parcours $dir en remontant les / $end=""; $beg=$dir; $tofind=true; diff --git a/debian/changelog b/debian/changelog index ca523650..5ee49214 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ alternc (0.9.6.4) stable; urgency=low + * Fixed the 'view' link issues (no urlencode) (#690) * Change "move" to "move to" (ergonomic) (#787) * Confirm file deletion in the browser (#659) * fixes dns install of internal hosting domains (#1056)