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

[make:registration-form] Fix escape text-strings #1153

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

mdoutreluingne
Copy link
Contributor

@mdoutreluingne mdoutreluingne commented Jul 16, 2022

Fixes #1151

Need reviews to know if it is correct to use the addslashes() function for fix escape text-strings here🙏

Copy link
Collaborator

@jrushlow jrushlow left a comment

Choose a reason for hiding this comment

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

Thanks @mdoutreluingne - addslashes works for me. We could use filter_var() w/ the FILTER_SANITIZE_ADD_SLASHES but this would ultimately call addSlashes() anyways.

@jrushlow jrushlow changed the title make:registration-form Fix escape text-strings [make:registration-form] Fix escape text-strings Jul 21, 2022
@jrushlow jrushlow added Bug Bug Fix Status: Reviewed Has been reviewed by a maintainer labels Jul 21, 2022
@jrushlow jrushlow merged commit add71d5 into symfony:main Jul 21, 2022
@mdoutreluingne mdoutreluingne deleted the fix-escape-apostrophe branch July 22, 2022 06:18
@jrushlow jrushlow mentioned this pull request Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug Fix Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

generator doesn't full escape text-strings when required
2 participants