What characters can one use in a URL?

前端 未结 4 577
故里飘歌
故里飘歌 2021-01-04 05:07

I have an application that takes all the parameters in the url like this: /category/subcategory/sub-subcategory. I want to be able to give out extra parameters

4条回答
  •  暖寄归人
    2021-01-04 05:19

    You could use a dash or an underscore (these are used frequently). You could use any character you want to but for example, spaces turn into %20 in the url so they don't look too-nice.

提交回复
热议问题