Skip to content

Fixing regexes - #163

Closed
shushpanchik wants to merge 1 commit into
wesbos:masterfrom
shushpanchik:patch-06-regexe
Closed

shushpanchik wants to merge 1 commit into
wesbos:masterfrom
shushpanchik:patch-06-regexe

Conversation

@shushpanchik

Copy link
Copy Markdown

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

wesbos commented Sep 21, 2017

Copy link
Copy Markdown
Owner

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

2 participants