History rollback question
I had some problems when trying to rollback wiki pgaes with non-english names. with error msg like "rollback version does not exist". Looks like the $page name is missing urlencoding somewhere. It happens on my local machine, with mysql4.0 (does mysql4.0 support utf8 encoding?). On my host machine, it works OK. It does rollback to an older version, but the link in brower address bar has some garbled codes (not the usual %20%55 stuff).
Update:
I added urlencodeing($page) on line 82 of tiki-rollback.php, and it seems to be working. Also added {$page|escape:"url"} in tiki-rollback.tpl, not quite sure what it does, just copied from another template😁. At least it doesn't seem to break anything.
As said in another post, I have just started learning PHP and know nothing about Tiki program, please advise if the changes I made are OK. Thanks.