What is , in a URL?

后端 未结 7 1848
孤城傲影
孤城傲影 2020-12-04 04:59

I\'m trying to understand the structure of a URL, and I\'m seeing a lot of %2C. I\'m guessing this is a result of some encoding. What does that stand for?

7条回答
  •  抹茶落季
    2020-12-04 05:12

    In Firefox there is Ctrl+Shift+K for the Web console, then you type

    ;decodeURIComponent("%2c")
    
    • mind the semicolon in the beginning
    • if you Copy&Paste, you should first enable it (the console will warn you)

    and you get the answer:

    ","
    

提交回复
热议问题