I have a url that I would like to put into my web.config file.
http://google.com?parcel&bob&&smith
I imagine that the .net run time is upset with the ampersand's so i encoded them to be &.
http://google.com?parcel&bob&&smith
This also doesn't work. Any ideas would be great, if you could supply 开发者_Python百科a link to the documentation of why this is that would be even better. Thank you very much!!!
did you try this? (semicolons)
http://google.com?parcel&bob&smith
The proper encoding for the ampersand is & You are missing the ; at the end.
I guess that is because you are missing the ';'. Try to use the HttpUtility.HtmlEncode method for encoding....
精彩评论