这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ldionmarcil
Copy link
Contributor

The Regular Expression for matching subdomains did not match on hyphens (-) which created a lot of situations where subdomains were being incompletely picked up.

For example, foo-bar.foobar.com would only match on bar.foobar.com. Also added a match on only-alphanum for the first character, as subdomains can't start with -.

@ehsandeep ehsandeep added Status: Review Needed The issue has a PR attached to it which needs to be reviewed Type: Enhancement Most issues will probably ask for additions or changes. labels Feb 23, 2021
@ehsandeep ehsandeep requested a review from Mzack9999 February 23, 2021 14:13
@ehsandeep ehsandeep added Status: Accepted It's clear what the subject of the issue is about, and what the resolution should be. and removed Status: Review Needed The issue has a PR attached to it which needs to be reviewed Type: Enhancement Most issues will probably ask for additions or changes. labels Feb 28, 2021
@ehsandeep
Copy link
Member

Thank you @ldionmarcil for improving the regex.

@ehsandeep ehsandeep merged commit 28be10f into projectdiscovery:master Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Accepted It's clear what the subject of the issue is about, and what the resolution should be.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants