microsoft-graph-explorer-v4 icon indicating copy to clipboard operation
microsoft-graph-explorer-v4 copied to clipboard

Invalid whitespace in URL error in Graph Explorer with properly encoded URL

Open dotnvo opened this issue 3 years ago • 2 comments

Describe the bug When providing a properly formatted URL using %20 to represent a 'space', the Graph Explorer GUI indicates there is a invalid whitespace in the URL.

To Reproduce Steps to reproduce the behavior:

  1. Create folder in personal OneDrive called 'Test Folder'
  2. Open Graph explorer, login, and grant proper permissions
  3. In URL field use : https://graph.microsoft.com/v1.0/me/drive/root:/Test%20Folder
  4. Error below URL field will say 'Invalid whitespace in URL'. However you can still click 'Run Query' and get a 200 response with data.

I provided a screenshot below to showcase the error and it still returning a response with data.

Expected behavior with a properly encoded URL using %20 for spaces, I don't expect the error 'Invalid whitespace in URL'

Screenshots

image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Edge
  • Version: 103.0.1264.44

dotnvo avatar Jul 05 '22 17:07 dotnvo

Thank you @dotnvo for raising this. We are on it

Onokaev avatar Jul 06 '22 06:07 Onokaev

This ticket is a repetition of the ongoing work on ABNF validation. https://github.com/microsoftgraph/microsoft-graph-explorer-v4/pull/2044

Onokaev avatar Sep 05 '22 12:09 Onokaev