none
Web.Contents + Uri.EscapeDatastring = PARSER ERROR. PQ converts "%2F" to "/" but shouldn't RRS feed

  • Question

  • Hello

    If i send a query to Google Webmaster Tool API (Search Console), it returns an error - 404 status.

    Here is a query

    https://www.googleapis.com/webmasters/v3/sites/www.kvadroom.ru/urlCrawlErrorsSamples/obyavleniya%2Fprodaetsiya-taunhaus-sinkovskoe%2F201437169.html?platform=web&category=soft404&access_token=ya29.FgJLUjBKLvoQWXEJN6MsHPl4awqXr33uk8wIiCN_z4WWp4175JyrQeQRjmhGfIU6pMbF

    (of course token has already expired, but was actual when used. Anyway, it's not a matter of credentials)

    As you can see, a part of query string is escaped - it's a requirement of GWT API - https://developers.google.com/webmaster-tools/v3/urlcrawlerrorssamples/get

    If I paste query string to browser's adress bar, I get status Ok 200 with JSON response. But if I use the same query in PQ's Web.Contents, PQ parses string incorrectly - it converts (but should not) "%2F" to "/"

    It says (here is an image)

    social.technet.microsoft.com/Forums/getfile/737407

    Is it a bug or I do something wrong?

    Suppose it happens only when escaped string is used in /path/ but not in ?params, i.e. precedes question mark






    Saturday, October 24, 2015 3:18 AM

Answers

All replies