[pmwiki-users] Redirect from page with cyrillic name doesn't work
Mikhail Ustinov
mike_bruin at mail.ru
Tue Mar 19 06:49:05 PDT 2019
Hi!
I have a site with cyrillic letters in names of pages.
Redirect (markup (:redirect:)) from such page doesn't work.
I receive something like "The page
D0A1D0BbD183D0B6D0B5D0B1D0BdD18bD0B5/D0A2D0B5D181D1821 not found".
But in quiet mode all works properly.
When I set $EnableRedirect=0, I see something like
Redirect to
https://<mydomain>/pmwiki/index.php/%d0%a1%d1%82%d1%80%d0%b0%d0%bd%d1%8b/%d0%9d%d0%b0%d0%b2%d0%b0%d1%80%d1%80%d0%b0?from=<cyrillic_letters>
<https://www.allmonarchs.net/pmwiki/index.php/%d0%a1%d1%82%d1%80%d0%b0%d0%bd%d1%8b/%d0%9d%d0%b0%d0%b2%d0%b0%d1%80%d1%80%d0%b0?from=%D0%A1%D1%82%D1%80%D0%B0%D0%BD%D1%8B.%D0%9F%D0%B0%D0%BC%D0%BF%D0%BB%D0%BE%D0%BD%D0%B0>
It seems that function RedirectMarkup or sometheng else does not convert
$pagename with cyrillic symbols to UTF8 or loose the "%" symbol.
--
BR
Mike Ustinov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20190319/62564e31/attachment.html>
More information about the pmwiki-users
mailing list