开发者

URL issues, after a link is clicked on via email -- What's the deal? ##

My app is sending users email with the following:

https://blah.chacha.com/feedback/##comment-reply-169

But for some reason, sometimes whe开发者_开发技巧n the URL is loaded in some of the user's browsers the ## are being converted to something like:

https://blah.chacha.com/feedback/#%23comment-reply-169

Any ideas what's going on here and why?


The # character isn’t valid in a fragment identifier, so it’s being escaped automatically. You should either avoid using that character inside a fragment, or explicitly unescape the value before using it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜