diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-08-10 10:22:32 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-08-10 10:22:32 +0200 |
commit | 4a11902708296cb762ced641066475b84f0b01c1 (patch) | |
tree | fa26204c31e299144acb0e865a0dd7941d32bf27 | |
parent | 9a59099f74d5e480db5bfde1f63bc4ee9dfd027c (diff) | |
download | rpg-4a11902708296cb762ced641066475b84f0b01c1.tar.gz rpg-4a11902708296cb762ced641066475b84f0b01c1.tar.bz2 |
correctly URL encode idx parameter in index view
darcs-hash:20070810082232-7ad00-e6abe2b952b7575454f8a2fcc5c257ec07b09e78.gz
-rw-r--r-- | inc/html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index 35cb09d3a..55cf89b79 100644 --- a/inc/html.php +++ b/inc/html.php @@ -644,7 +644,7 @@ function html_list_index($item){ $base = ':'.$item['id']; $base = substr($base,strrpos($base,':')+1); if($item['type']=='d'){ - $ret .= '<a href="'.wl($ID,'idx='.$item['id']).'" class="idx_dir"><strong>'; + $ret .= '<a href="'.wl($ID,'idx='.rawurlencode($item['id'])).'" class="idx_dir"><strong>'; $ret .= $base; $ret .= '</strong></a>'; }else{ |