Skip to content

Long list of whitelisted chararacters in .htaccess cause 500 error #810

@gideonso

Description

@gideonso

Short description of the issue

@ryancramerdesign

For utf8 page name, we need to whitelist characters both in config.php and .htaccess 16A or 16B. But there is a very long list of Chinese Characters. I found that if the number of characters put in the .htaccess file exceeds certain number causes 500 error. Is there any way to whitelist all the utf8 character with a more convenient way?

Adrian Mak has proposed to use ut8 code range to whitelist all utf8 characters. Please see his post here: https://processwire.com/talk/topic/12776-pw-3012-support-for-extended-utf8-page-namesurls/?page=2&tab=comments#comment-146652

Expected behavior

Page loads without a 500 error

Actual behavior

Page shows a 500 eror

  • ProcessWire version: latest version 3.0.123
  • (Optional) PHP version: 7.1
  • (Optional) MySQL version: MariaDB 10.3.11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions