Correction du probleme du lien voir. Fixes #690

This commit is contained in:
Benjamin Sonntag 2007-08-23 06:46:50 +00:00
parent 11a12425b1
commit 6bad3e9495
3 changed files with 3 additions and 1 deletions

View File

@ -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");

View File

@ -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;

1
debian/changelog vendored
View File

@ -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)