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
Better way to whitelist non-ascii characters (Asian characters) in config.php #393
Comments
This can be done by leave $config->pageNameWhitelist = "". I close this request. |
I propose that To make this happen, another condition would need to be added to the sanitizer, right after checking the blacklist:
https://github.com/processwire/processwire/blob/master/wire/core/Sanitizer.php#L843 |
@openidauthority Thanks, that makes sense to me, I have added it. |
@gideonso, can you close this issue if you are happy with Ryan's fix? |
It is good to me. Thanks a lot. |
For now, if a site needs non ascii page name, there are two setting needed to be set:
This is OK.
It is very hard to put all the Chinese character there.
If there is another way to whitelist all the non-ascii character would be a big plus to ProcessWire multi-language support.
Related forum thread: https://processwire.com/talk/topic/12776-pw-3012-support-for-extended-utf8-page-namesurls/?page=2&tab=comments#comment-146652
The text was updated successfully, but these errors were encountered: