How do you configure Apache/PHP to accept slashes in query strings?

后端 未结 7 462
太阳男子
太阳男子 2020-12-10 17:55

I have two Apache servers running PHP. One accepts forward-slashes in the query string and passes it along to PHP in the expected way, for example:

http://server         


        
7条回答
  •  伪装坚强ぢ
    2020-12-10 18:51

    Note that if the query string is properly URL-escaped (i.e. with %2F instead of forward-slash), then everything works.

    So it works when the query string is properly formatted and doesn't work when it isn't. What's the problem?

提交回复
热议问题