Skip to content

Conversation

@shushpanchik
Copy link

Putting unescaped user input into regex is a bad idea #1 - for example, typing . into search field will create weird result
Replacing substring with a user input is a bad idea #2 - it's not respecting letter case

Putting unescaped user input into regex is a bad idea #1 - for example, typing . into search field will create weird result
Replacing substring with a user input is a bad idea #2 - it's not respecting letter case
@wesbos
Copy link
Owner

wesbos commented Sep 21, 2017

Thanks - will be keeping it the same as the videos for consistency - I do have some other videos on escaping data. I guess you could xss yourself here :)

@wesbos wesbos closed this Sep 21, 2017
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