How to have bare % sign properly encoded
I have a SOLR search bar on my site. When I search for
100% wolf
it generates a url that looks like this:
https://www.example.org/search/100%%20wolf
This then causes cloudflare to throw a 400 Bad Request because even though the space was properly converted to %20
, the % was not converted to %25
.
1. Is this something cloudflare should be handling? or my site? Is CF converting the space but not the % or is it my site that is generating that?
2. Is there a fix I can implement on the CF side other than using a Worker? Or should this be fixed on my side?1 Reply
>%% is an invalid escape
Yea I know. I am not the one generating the url
>you need to escape plain % aswell
I know - my question is how do I do this on cloudflare?
@Leo