Google Answers Logo
View Question
 
Q: When to use UrlDecode in ASP.NET app ( No Answer,   0 Comments )
Question  
Subject: When to use UrlDecode in ASP.NET app
Category: Computers > Programming
Asked by: mountaintop-ga
List Price: $40.00
Posted: 03 Jan 2005 10:32 PST
Expires: 04 Jan 2005 16:49 PST
Question ID: 451012
Hello. I need an answer within about 1 hour. I have to process strings
that may sometimes (but not always) be double UrlEncoded. Therefore, I
must have logic that tells me when to sometimes apply an extra
UrlDecode. If I always apply the extra UrlDecode (i.e., apply it when
the string has not been double UrlEncoded), some chars are dropped
("+" becomes a space char). What I am looking for is an existing
ASP.NET method, OR new code in C# to create such a method, that will
efficiently tell me when to apply the extra UrlDecode. (I hope to
avoid a brute force search of the strings for certain chars.) Thanks!

Request for Question Clarification by answerguru-ga on 03 Jan 2005 10:42 PST
Hi there,

It seems that this same problem (or a similar one) is being discussed
in this thread:

http://groups.google.ca/groups?hl=en&lr=&threadm=OAQbL4JhCHA.1392%40tkmsftngp12&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26q%3Dasp.net%2Bdouble%2Burldecode

Let me know if that resolves your problem, or if you are dealing with
a different issue.

Thanks,
answerguru-ga

Clarification of Question by mountaintop-ga on 03 Jan 2005 12:07 PST
Hi. The issue being discussed in thread:
http://groups.google.ca/groups?hl=en&lr=&threadm=OAQbL4JhCHA.1392%40tkmsftngp12&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26q%3Dasp.net%2Bdouble%2Burldecode

is similar in regard to UrlDecode, but I am not working with SOAP. 

I am working with System.String objects and I need a way to determine
if the string requires an extra call to UrlDecode.

So I am still seeking an answer here. Thanks.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy