Characters allowed in a URL

前端 未结 9 1162
没有蜡笔的小新
没有蜡笔的小新 2020-11-22 05:33

Does anyone know the full list of characters that can be used within a GET without being encoded? At the moment I am using A-Z a-z and 0-9... but I am looking to find out th

9条回答
  •  隐瞒了意图╮
    2020-11-22 06:20

    The full list of the 66 unreserved characters is in RFC3986, here: http://tools.ietf.org/html/rfc3986#section-2.3

    This is any character in the following regex set:

    [A-Za-z0-9_.\-~]
    

提交回复
热议问题