URL losing plus sign

后端 未结 1 476
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-12 06:00

I realize that in a URL, the + symbol represents a space, however I need to keep the plus sign. How can I do this? My URL and code are as follows:

http://www         


        
相关标签:
1条回答
  • 2020-12-12 06:40
    • is intepreted as a space in a URL. To use a + you need %2B.

    http://example.com/path/test.php?test=2%2B2

    0 讨论(0)
提交回复
热议问题