- Wrapped the test URLs in urlencode()

3-00
Dries Buytaert 2001-05-25 17:24:46 +00:00
parent 0b32787a9c
commit 21ea8abc66
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ function index_test_2($edit) {
foreach (explode(";", $value1) as $data) {
$entry = explode(":", $data);
if ($entry[1]) $foo[] = "<A HREF=\"index.php?$entry[0]=$entry[1]\">$entry[1]</A>";
if ($entry[1]) $foo[] = "<A HREF=\"index.php?$entry[0]=". urlencode($entry[1]) ."\">$entry[1]</A>";
}
$value2 = implode(" - ", $foo);