aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-22 20:18:47 -0700
committerzotlabs <mike@macgirvin.com>2017-05-22 20:18:47 -0700
commit53057830e0388e0888cca925a99aa62cda0168cf (patch)
treed7e4863d37203e4e57d2ec8de2afa1958b76a665 /Zotlabs/Lib
parent7ae0317b6a2bed323492ef987ddbaaf4f2a1a9b9 (diff)
downloadvolse-hubzilla-53057830e0388e0888cca925a99aa62cda0168cf.tar.gz
volse-hubzilla-53057830e0388e0888cca925a99aa62cda0168cf.tar.bz2
volse-hubzilla-53057830e0388e0888cca925a99aa62cda0168cf.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']
];
}