• Resolved Jeffery To

    (@jefferyto)


    When trying to save links with URL-encoded characters (e.g. %20) to the whitelist or blacklist, the URL-encoded parts are removed. This is most likely because the field values are passed through sanitize_textarea_field(), which removes “octets” (URL-encoded characters).

    URL encoding is used for symbols and non-Latin (e.g. CJK) characters, and are valid parts of URLs. I believe within WordPress links are also URL-encoded, which means even if I copy-and-paste the actual non-URL-encoded characters into the whitelist/blacklist fields, these whitelist/blacklist URLs would still not match the links generated by WordPress.

    Would be great if this can be fixed – thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Whitelist/blacklist does not support URL-encoding’ is closed to new replies.