Handling double slash // in URL path by Load Balancer

0

We have a website running on Beanstalk and served behind an application load balancer. When there is double slash in the URL e.g. https://example.com/en//page/path/ the load balancer forwards the request to https://example.com/en/page/path/ even though the URL in the browser remains as https://example.com/en//page/path/. How can we handle this so that the load balancer either forwards the request with the double slash to beanstalk or does a 301 redirect to sigle slash url.

Lmn-Dev
已提问 2 年前70 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则