Closed GoogleCodeExporter closed 8 years ago
There is nothing i can do to work around this beside recommend using mono (it
works fine under mono). That is
a security issue (as claimed by Microsoft) and beside replacing the URI class,
i don't see a solution to the
problem.
You could file this bug as a bug against the service and ask them to change the
scheme (make it a parameter for
example).
Original comment by fman...@gmail.com
on 27 Oct 2008 at 9:40
Double encode the uri:
SiteUri = "http://example.com"
SiteFeedUriTemplate = "https://www.google.com/webmasters/tools/feeds/sites/{0}"
Server = System.Web.HttpContext.Current.Server
Encoded = Server.UrlEncode(SiteUri)
DoubleEncoded = Server.UrlEncode(Encoded)
FeedUri = String.Format(SiteFeedUriTemplate, DoubleEncoded)
Original comment by langs...@gmail.com
on 13 Nov 2008 at 2:10
Thank you for posting the DoubleEncode solution. Worked and worked and worked
on
that one.
Original comment by rpa.ad...@gmail.com
on 6 Feb 2009 at 5:03
Your sample wouldn't work without the trailing "/" at the end of the SiteUri,
but
otherwise great find!
Original comment by mikej...@gmail.com
on 14 Feb 2009 at 11:52
Google either needs to update the documentation with a code sample showing how
to
properly encode the URL, or update the client library. The other samples just
will
not work. hey langsamu, thanks for posting that trick. I was just about ripping
my
hair out trying to figure out what to do, so it's a great relief to finally
have a
workaround for this!
Original comment by seo.loca...@gmail.com
on 19 Jun 2009 at 12:17
Original issue reported on code.google.com by
derigel
on 26 Oct 2008 at 2:37