summaryrefslogtreecommitdiff
path: root/modules/index.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-05-25 17:24:46 +0000
committerDries Buytaert <dries@buytaert.net>2001-05-25 17:24:46 +0000
commit21ea8abc66da542fa0cb58d436afe569ef02bfe7 (patch)
tree0ad1a88f227a2de9ddcfa1d3511c9b8efbdd4304 /modules/index.module
parent0b32787a9c04f66d618a1cb7f126d4d1404832cc (diff)
downloadbrdo-21ea8abc66da542fa0cb58d436afe569ef02bfe7.tar.gz
brdo-21ea8abc66da542fa0cb58d436afe569ef02bfe7.tar.bz2
- Wrapped the test URLs in urlencode()
Diffstat (limited to 'modules/index.module')
-rw-r--r--modules/index.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/index.module b/modules/index.module
index fd244d884..0cc858c61 100644
--- a/modules/index.module
+++ b/modules/index.module
@@ -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);