humanmade / hm-redirects

Fast and scalable redirects plugin for WordPress
29 stars 11 forks source link

Avoid excessive sanitisation #47

Closed rmccue closed 3 years ago

rmccue commented 3 years ago

We already sanitise URLs later. By calling sanitize_text_field(), this inadvertently was stripping percent-encoded special characters.

Fixes #46, see https://github.com/humanmade/altis-seo/issues/119