Skip to content

Conversation

@0n1shi
Copy link
Contributor

@0n1shi 0n1shi commented Jun 18, 2023

Copy link
Contributor

@alexsanford alexsanford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0n1shi I just tested this, and it works well!

One small change request, and then we should be able to get this merged.

found = []

enumerate(potential_urls(opts), opts.merge(check_full_response: 200)) do |res|
enumerate(potential_urls(opts), opts.merge(check_full_response: [200, 206])) do |res|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use valid_response_codes here, rather than repeating the array?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexsanford

Thank you for the review !
I thought I should follow the other finders but using valid_response_codes is much better, I will fix it :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

Copy link
Contributor

@alexsanford alexsanford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, works fine for me. Will merge once the build finishes.

@alexsanford alexsanford merged commit bce3b48 into wpscanteam:master Oct 14, 2023
@Neved4 Neved4 mentioned this pull request Sep 5, 2024
1 task
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.

2 participants