Skip to content

Allow parsing of php version without patch specification - #1

Open
MathiusD wants to merge 1 commit into
aancw:mainfrom
MathiusD:feature/allow_parsing_of_php_version_without_patch
Open

MathiusD wants to merge 1 commit into
aancw:mainfrom
MathiusD:feature/allow_parsing_of_php_version_without_patch

Conversation

@MathiusD

@MathiusD MathiusD commented Nov 4, 2026 •

Copy link
Copy Markdown

First of all thanks for this scanner it's really practical.

I submit this PR because on some old/custom installation patch version can be omitted

Some headers examples :

  • x-powered-by: PHP/7.0
  • x-powered-by: PHP/8.1

So i propose this change to support this syntax (So we assume patch is 0 in this case since it's unspecified)

I don't write in go really often so don't hesitate if you have any comment !

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 this pull request may close these issues.

1 participant