Three or more dots followed by a slash in url causes an internal server error

我的未来我决定 提交于 2019-12-24 11:42:42

问题


On my site, if a url contains three or more dots followed by a slash, an internal server error (500) is given.

The server runs linux and apache 2.0.63.

Anyone knows what may be the cause?

Thanks!


回答1:


It's possible you are seeing the error because two periods '..' can be used to step back up a folder level, and the server may be detecting it as a potential security breach (someone trying to get into folders they shouldn't) or it could be that it's actually trying to navigate to that folder and doesn't have access to do it.



来源:https://stackoverflow.com/questions/5210994/three-or-more-dots-followed-by-a-slash-in-url-causes-an-internal-server-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!