-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If selected page's name contains non-english character then it won't open tree accordingly #50
Comments
Not 100% sure but this change in syntax/indexmenu.php seems to fix it:
|
Similar example from #52:
|
I don't understand why it needs to be urlencoded when the idfilter func already takes care of doing this: Any idea? |
Ok, now looking at what idfilter() does my proposal was a bit stupid indeed. But I didn't want to encode it but decode.. JS probably doesn't match it when it's encoded and that's why it's not opening the tree. So my new proposal would be this: $out .= $jscmd."('".idfilter($item['id'])."',$i,".$father.",'".$item['title']."'"; Turning off encoding here fixes the problem for me. I'm running the latest version of dokuwiki on Apache. |
Sorry confusing the func, quick read = wrong read. |
prevent non-english chars are encoded. Fixes #50
Url to test with: http://wiki.example.com/tehnikaveeb:kaugtöö.
http://wiki.example.com/tehnikaveeb:kaugtoo would work OK but I'd like to make it work with non-english words too.
The text was updated successfully, but these errors were encountered: