Characters allowed in a URL

前端 未结 9 947
没有蜡笔的小新
没有蜡笔的小新 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:29

    These are listed in RFC3986. See the Collected ABNF for URI to see what is allowed where and the regex for parsing/validation.

提交回复
热议问题