URL片段(#)允许的字符 [英] URL fragment (#) allowed characters

查看:235
本文介绍了URL片段(#)允许的字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在互联网上进行了一些挖掘之后,我找不到一个很好的答案,我可以将哪些字符用作URL片段.我正在写一个JavaScript脚本,该脚本将利用URL片段.

After some digging on the internet I was unable to find a good answer to which characters I may use for URL fragment. I'm writing a javascript-script that will take advantage of URL fragments.

我想通过使URL看起来不太复杂来使其看起来更加友好.因此,我想知道是否可以使用':,?,&等字符.或者 !'在网址片段中仍然有效.

I wanted to make the URL eye-friendly by not having it looking too complicated. So I was wondering if I could use characters like ':, ?, & or !' in the URL fragment and still have it valid.

我的URL片段应包含以下值:

My URL fragment should contain the following values:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆