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

Fixes XML character escaping in 'spo listitem batch set' command. #6454

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Saurabh7019
Copy link
Contributor

Closes #6430

@Saurabh7019 Saurabh7019 marked this pull request as ready for review October 30, 2024 11:31
@milanholemans
Copy link
Contributor

Thank you @Saurabh7019!

@milanholemans milanholemans self-assigned this Nov 16, 2024
Copy link
Contributor

@milanholemans milanholemans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great fix @Saurabh7019. Since this is a bug, we require our contributors to add an additional test so this cannot happen again in the future. Could you add a test where we validate special characters in a request?
Thanks!

@milanholemans milanholemans marked this pull request as draft November 16, 2024 22:53
@Saurabh7019
Copy link
Contributor Author

Hi @milanholemans, I modified an existing test to simulate input with special characters and verified escaped output. Please let me know if this works or if an additional test is required.

@Saurabh7019 Saurabh7019 marked this pull request as ready for review November 18, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug report: The 'spo listitem batch set' command breaks on XML forbidden character, like &
2 participants