400 Bad Request on specific route

today i got 400 bad request on one of my routes, using nuxtjs on my server. Other image on the same route is displayed correctly.

on my route code there’s no 400 return code. I tried to log wether i have an error, but nothing. no error on my end.

I found the problem, using % on url path is a bad idea.

Yes, % in a URL indicates the start of an escape sequence (e.g. %20 for a space ). %:h is not a valid escape sequence, so Cloudflare refuses the request. If you want a literal percentage sign, you need to encode it to %25.


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.