When using Foldernames with fancy characters (such as umlauts) the
folderlisting fails if it contains special characters (such as &).
This little patch urlencodes the foldername before echoing it out to
prevent that problem.
For me it works perfectly with version 0.8.14-rc3.
*** folders.php 2005-08-30 12:43:46.000000000 +0000
--- folders.php 2005-08-30 12:42:58.000000000 +0000
*************** if (isset($user)){
*** 331,337 ****
if ( $num_unseen > 0 ) $unseen_str =
" (".$num_unseen.")";
else $unseen_str = "";
}
! echo "<a href=\"main.php?folder=$key&user=".
$user."\" target=\"list2\">$value</a>";
echo $unseen_str;
if ($key==$my_prefs["trash_name"]){
echo " [<a href=\"folders.php?user=".
$user."&empty_trash=1\">".$fstr["expunge"]."</a>]";
--- 331,338 ----
if ( $num_unseen > 0 ) $unseen_str =
" (".$num_unseen.")";
else $unseen_str = "";
}
! $urlkey=urlencode($key);
! echo "<a href=\"main.php?folder=$urlkey&user=".
$user."\" target=\"list2\">$value</a>";
echo $unseen_str;
if ($key==$my_prefs["trash_name"]){
echo " [<a href=\"folders.php?user=".
$user."&empty_trash=1\">".$fstr["expunge"]."</a>]";
Logged In: YES
user_id=1337278
For questions contact me directly <m.schneider> at <all-things-open.org>.