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

catastrophic backtracking in BACKSLASH_URL_RE #52

Closed
DaveCrim opened this issue Mar 21, 2022 · 2 comments · Fixed by #56
Closed

catastrophic backtracking in BACKSLASH_URL_RE #52

DaveCrim opened this issue Mar 21, 2022 · 2 comments · Fixed by #56

Comments

@DaveCrim
Copy link

Pretty much the title, discovered this in a downstream project, https://github.com/s0md3v/Photon, commented on it there as well. Thought I'd leave the comment here too, the rest of the defang RE seem to work fine, but the backslash one seemed to cause a lot of hangs when I was using it.

Test against: http://myexample.com/dir/../path/escaping/../too/many/../dots/../in/../the/path/../cause/this/to/fail

@battleoverflow
Copy link
Contributor

Hi, @DaveCrim!

PR just merged to resolve this issue. I'll ping this issue once more when a new package is available on PyPI for download.

@battleoverflow
Copy link
Contributor

The new PyPI package is now available!

PyPI: https://pypi.org/project/iocextract/1.13.8/
GitHub Releases: https://github.com/InQuest/python-iocextract/releases/tag/v1.13.8

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 a pull request may close this issue.

2 participants