For now, you should be able to eliminate stripping / from URLs by creating a plugin. If you're not using Simple Wiki URLs, I don't recommend this, because the incoming URL may be reported as %2F rather than / which will not always resolve properly. If you're using Simple Wiki URLs, you may have to customize your .htaccess rules or server configuration to achieve proper routing of URLs that contain /.
To re-allow /, create a plugin at hook location vault_url_encode
Code:
if ($this->wiki->language->charset["$langid"] == 'U')
{
unset($replacementlist['/']);
}
else
{
$allowstring .= '\/';
}
After reviewing the code for the URL handler, the lack of / support looks like it may be a bug. Let me know if you have any issues implementing this. If not, we will apply the necessary changes to the product.
Note: After creating this plugin, you will need to rebuild Wiki URLs via VaultWiki > Wiki URL Manager, which may take some time.
Bookmarks