The Artima Developer Community
Sponsored Link

.NET Buzz Forum
HttpUtility.UrlEncode throws a Security Exception

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Mark Levison

Posts: 877
Nickname: mlevison
Registered: Jan, 2003

Mark Levison an agile software developer who writes Notes from a tool user.
HttpUtility.UrlEncode throws a Security Exception Posted: Oct 4, 2004 3:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Mark Levison.
Original Post: HttpUtility.UrlEncode throws a Security Exception
Feed Title: Mark Levison
Feed URL: /WebLog/error.aspx?aspxerrorpath=/WebLog/mlevison/Rss.aspx
Feed Description: Musings on No Touch Deployment, .NET development and photography
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Mark Levison
Latest Posts From Mark Levison

Advertisement
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)?
This Blog Hosted On: http://www.DotNetJunkies.com/

Read: HttpUtility.UrlEncode throws a Security Exception

Topic: New blog category: Firefox Tips Previous Topic   Next Topic Topic: Viewing MSDN code samples in Firefox or Mozilla browsers

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use