Mark Levison

Musings on No Touch Deployment, .NET development and photography

<November 2008>
SuMoTuWeThFrSa
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456


Navigation

Other

Blogroll

Subscriptions

Post Categories



Monday, October 04, 2004 - Posts

HttpUtility.UrlEncode throws a Security Exception
I have a need to encode and decode url content. I'm currently using the UrlDecode and UrlEncode methods from the HttpUtility class. Unfortunately it appears that HttpUtility has a link demand for AspNetHostingPermission which throws an exception when running under the default Internet permission set. Why does HttpUtility have this permission requirement? Are there are work arounds, short of rolling our own method (Yeeeccccchhhhh)?

posted Monday, October 04, 2004 1:37 PM by mlevison with 0 Comments




Powered by Dot Net Junkies, by Telligent Systems