This project is read-only.


AntiXss.UrlEncode encodes a complete url instead of just parameters


Doing this
string s = AntiXss.UrlEncode("");
Results to this:
which is unusable.
Only parameters should be encoded.
Closed Apr 14, 2010 at 7:19 PM by bdorrans
Behaviour as expected - will not fix.


syedab wrote Jul 7, 2009 at 1:34 PM

All the methods in the AntiXSS library encodes the given input. You should be using <a href=”[Untrusted input]”>Click Here!</a>

bdorrans wrote Apr 14, 2010 at 7:19 PM

This is as expected - you should be encoding parameters to insert in a URI, not the entire URI

wrote Apr 14, 2010 at 7:19 PM

wrote Feb 22, 2013 at 1:07 AM

wrote May 16, 2013 at 12:29 PM