Skip to content

cloudfront custom error page is not loaded when trying to access url: %00

0

I have already set custom error page in cloudfront. however, when access to /%00 my custom error page is not loaded, but it show cloudfront default one. How to make sure custom error page is loaded instead of default.

400 ERROR The request could not be satisfied. Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner. If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation. Generated by cloudfront (CloudFront) Request ID: uU-2wq_aAHKIPSlZmkREn_zpRUdedE__ADqZSjE8xmg3qAJwsx6a4A

asked a year ago226 views

1 Answer
0

Hello.

"%" is normally encoded when used in a URL.
Therefore, it is possible that the "%" contained in the string "%00" is causing the problem.
Why not try encoding the "%" as shown below and accessing the site?
"%" is encoded as "%25".
https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding

/%2500
EXPERT

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.