aboutsummaryrefslogtreecommitdiffstats
path: root/mod/page.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-12 22:57:55 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-12 22:57:55 -0700
commitc3c202d650506ea3ed3ba9bdb92aae0b065d5e47 (patch)
treee2126b6c037de85e8f8d951500fc5d7ee3e03eb0 /mod/page.php
parent19a2bdeb915ff32a0612717994b93e07a670fd2f (diff)
downloadvolse-hubzilla-c3c202d650506ea3ed3ba9bdb92aae0b065d5e47.tar.gz
volse-hubzilla-c3c202d650506ea3ed3ba9bdb92aae0b065d5e47.tar.bz2
volse-hubzilla-c3c202d650506ea3ed3ba9bdb92aae0b065d5e47.zip
issue #187
Diffstat (limited to 'mod/page.php')
-rw-r--r--mod/page.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/page.php b/mod/page.php
index ad1862a7a..b80982ae1 100644
--- a/mod/page.php
+++ b/mod/page.php
@@ -35,7 +35,11 @@ function page_init(&$a) {
}
$channel_address = argv(1);
- $page_id = argv(2);
+
+ // The page link title was stored in a urlencoded format
+ // php or the browser may/will have decoded it, so re-encode it for our search
+
+ $page_id = urlencode(argv(2));
$u = q("select channel_id from channel where channel_address = '%s' limit 1",
dbesc($channel_address)