How can I include special characters in query strings?

后端 未结 7 947
日久生厌
日久生厌 2020-12-09 15:22

URL http://localhost/mysite/mypage?param=123 works fine. However, if I want to put some special characters in param, like ?, /

7条回答
  •  温柔的废话
    2020-12-09 15:52

    You have to encode special characters in URLs. See: http://www.w3schools.com/tags/ref_urlencode.asp

提交回复
热议问题