โ‰ˆ the.bay.news

Regular Expression Denial of Service (ReDoS) in JS & PHP: Spotting Catastrophic Backtracking

DEV Community
Regular Expression Denial of Service (ReDoS) in JS & PHP: Spotting Catastrophic Backtracking
Here is a pattern I keep finding in slug and username validators: /^([a-z0-9]+-?)+$/. It looks...

0 comments

Sign in to join the discussion โ€” your thebay.events account works here.

No comments yet.