eydjey / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Don't use the HttpUtility class #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://jasonrowe.com/2008/07/29/decrypt-querystring-space-issue-uriescapedatastr
ing/

Target platform (e.g. Windows, Mono, Silverlight, WP7, All)?

All

Please describe the feature requested.

Why is the HttpUtility class used (and imported from Mono)? As far as I can 
see, only the Uri encoding is actually used and this can be easily accomplished 
by using the Uri.EscapeDataString and Uri.UnescapeDataString methods, which are 
part of the .NET Framework core.

There's one reference to HTML entity encoding in Google.Apis.Utilities, but the 
function is never used inside the core library.

Original issue reported on code.google.com by filip.na...@gmail.com on 2 Jan 2012 at 3:01

GoogleCodeExporter commented 9 years ago
I think there was a different reason why we couldn't use the escape/unescape 
methods in the Uri class, but I will look into this more closely. Thanks for 
the report!

Original comment by mlinder...@gmail.com on 11 Jan 2012 at 2:01

GoogleCodeExporter commented 9 years ago

Original comment by asky...@google.com on 25 Apr 2012 at 8:56

GoogleCodeExporter commented 9 years ago

Original comment by asky...@google.com on 25 Apr 2012 at 8:56

GoogleCodeExporter commented 9 years ago
As part of upgrading the .NET 4.0 (and PCL soon) this class was deleted

Original comment by pele...@google.com on 31 May 2013 at 10:06