aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-22 20:18:47 -0700
committerMario Vavti <mario@mariovavti.com>2017-05-23 21:51:17 +0200
commitda682717ab6b37f87e2620a4305fa78131d57063 (patch)
tree15fba75e7dda2b25215e7d8e19104866e5baf5ec /Zotlabs/Lib
parent647b5d098f0985a12acbaf6fc1d3d89c2a758129 (diff)
downloadvolse-hubzilla-da682717ab6b37f87e2620a4305fa78131d57063.tar.gz
volse-hubzilla-da682717ab6b37f87e2620a4305fa78131d57063.tar.bz2
volse-hubzilla-da682717ab6b37f87e2620a4305fa78131d57063.zip
wiki auto language select to match webpages implementation
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/NativeWikiPage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/NativeWikiPage.php b/Zotlabs/Lib/NativeWikiPage.php
index ed3df436c..78b54ebda 100644
--- a/Zotlabs/Lib/NativeWikiPage.php
+++ b/Zotlabs/Lib/NativeWikiPage.php
@@ -44,7 +44,7 @@ class NativeWikiPage {
$pages[] = [
'resource_id' => $resource_id,
'title' => escape_tags($title),
- 'url' => urlencode(urlencode($title)),
+ 'url' => str_replace('%2F','/',urlencode(str_replace('%2F','/',urlencode($title)))),
'link_id' => 'id_' . substr($resource_id, 0, 10) . '_' . $page_item['id']
];
}