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)?