Skip to content

Conversation

@Pixmew
Copy link
Contributor

@PixmewPixmew commented Nov 7, 2020

The regex is changed because /w contains extra special characters which maybe invalid hence is converted to [A-Za-z_].

https://bugs.python.org/issue41712

Pixmewand others added 10 commits November 5, 2020 20:41
bpo-41712: Removal of Unnessery regex conditions Using suggestion For example, you can modify the sub-pattern \w+\d+ to ([A-Za-z_]*\d)+ which should Fix the issue of vulnerable regex. Test Result : Working as intended Sorry if this not much this is my first pr to big org.
bpo-41712: Removal of Vulnerable regex conditions Using suggestion ""For example, you can modify the sub-pattern \w+\d+ to ([A-Za-z_]*\d)+"" and converted to ([A-za-z_]+\d+) which should Fix the issue of vulnerable regex. Test Result : Working as intended Sorry if this not much this is my first pr to big org.
…kdm.rst Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
Sign up for freeto 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.

3 participants

@Pixmew@the-knights-who-say-ni@bedevere-bot