Skip to content

Conversation

danielcecil
Copy link
Contributor

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes (#3569)

What is in this Pull Request ?

Added a String.Replace function to the Identity parameter on GetAzureADUser.cs to replace single apostrophe's with doubles. e.g. John.O'Smith@contoso.com becomes John.O''Smith@contoso.com as a result.

This ensures the apostrophes are correctly escapes. Note that UrlEncode does not achieve this fix.

@KoenZomers
Copy link
Collaborator

Thanks @danielcecil for your contribution! I have moved this fix to a lower level so two other cmdlets which ran into the same issue can also benefit from it.

@KoenZomers KoenZomers merged commit 997f857 into pnp:dev Nov 16, 2023
@danielcecil
Copy link
Contributor Author

Nice work! Thanks for looking a bit deeper 👍

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

Successfully merging this pull request may close these issues.

2 participants