Why does the encoding's of a URL and the query string part differ?

前端 未结 3 1806
刺人心
刺人心 2020-12-14 17:37

I was researching why my query parameters have plus + signs in it instead of %20 and why they have strings like %C3%BC instead of a ü

3条回答
  •  眼角桃花
    2020-12-14 18:25

    There is no difference between + and %20 when it comes to Query string parameters:

    SPACE is encoded as '+' or '%20'

    Quote reference

提交回复
热议问题