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

Fix escaping of filter values with displayName #2361

Merged

Conversation

timayabi2020
Copy link
Collaborator

@timayabi2020 timayabi2020 commented Oct 12, 2023

This PR fixes #2280 by preventing filter values with + on the displayName from being replaced by an empty string.
Changes by adding a regex to check for values enclosed within double or single qoutes.
image

@timayabi2020 timayabi2020 linked an issue Oct 12, 2023 that may be closed by this pull request
@timayabi2020 timayabi2020 marked this pull request as ready for review November 1, 2023 21:37
@timayabi2020 timayabi2020 requested a review from a team as a code owner November 1, 2023 21:37
@timayabi2020 timayabi2020 merged commit 9938137 into dev Nov 3, 2023
2 of 3 checks passed
@timayabi2020 timayabi2020 deleted the 2280-get-mggroup-filter-with-special-characters-doesnt-work branch November 3, 2023 05:56
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.

Get-MGGroup filter with special characters doesn't work
3 participants