locked
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

  • I'd encourage you to take this question to the Power BI community @ community.powerbi.com

    Ed Price, Azure & Power BI Customer Program Manager (Blog, Small Basic, Wiki Ninjas, Wiki)

    Answer an interesting question? Create a wiki article about it!

    Wednesday, October 28, 2015 12:30 AM
  • Some screenshots

    http://www.parihmaster.ru/temp/tmp/percent2F.png

    http://www.parihmaster.ru/temp/tmp/percent252F.png

    http://www.parihmaster.ru/temp/tmp/percent25percent2F.png

    Wednesday, October 28, 2015 12:59 PM
  • Thanks for the report; we've logged this as a bug.
    Wednesday, October 28, 2015 1:43 PM
  • Could you notify me when this bug is fixed?

    btw, if those images become unavailable, pls use these

    http://i.stack.imgur.com/puaT0.png

    http://i.stack.imgur.com/KrdkQ.png

    http://i.stack.imgur.com/HIjrB.png

    Wednesday, October 28, 2015 3:40 PM