views:

14

answers:

1

My app is sending users email with the following:

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

But for some reason, sometimes when 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?

+1  A: 

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.

jleedev