Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escaping apostrophes does not return expected results #3620

Open
nick9one1 opened this issue Feb 15, 2025 · 0 comments
Open

escaping apostrophes does not return expected results #3620

nick9one1 opened this issue Feb 15, 2025 · 0 comments
Assignees

Comments

@nick9one1
Copy link

nick9one1 commented Feb 15, 2025

Describe the bug
escaping apostrophes does not return expected results

To Reproduce

find a page that contains an apostrophe
https://graph.microsoft.com/beta/sites/{SiteID}/pages/microsoft.graph.sitePage?

from the above api call I can see this page that contains an apostrophe (%27)

"webUrl": "https://company.sharepoint.com/our-sites/Swansea/SitePages/-I%27m-dreaming-of-a-white-Bay-Christmas.aspx",

adding a filter to return the above, does not work

https://graph.microsoft.com/beta/sites/{SiteID}/pages/microsoft.graph.sitePage?filter=webUrl eq 'https://company.sharepoint.com/our-sites/sitename/SitePages/-I%27m-dreaming-of-a-white-Bay-Christmas.aspx'

I have tried the following in place of %27
%27%27
%27
''

all return a blank response

Expected behavior

the page should be returned

  • OS: Win 11
  • Browser Chrome
  • Version Version 132.0.6834.197 (Official Build) (64-bit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants