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

Ignore certificate errors in security txt boefje #2487

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

dekkers
Copy link
Contributor

@dekkers dekkers commented Feb 12, 2024

Changes

In the security txt boefje the first get request correctly had verify=False, but if it returns a redirect we fetch the redirect target which didn't have verify=False. This causes the boefje to fail, this PR adds verify=False so we download security.txt even if there is a certificate error.


Checklist for code reviewers:

Copy-paste the checklist from the docs/source/templates folder into your comment.


Checklist for QA:

Copy-paste the checklist from the docs/source/templates folder into your comment.

@dekkers dekkers requested a review from a team as a code owner February 12, 2024 12:01
@dekkers dekkers self-assigned this Feb 12, 2024
@underdarknl underdarknl merged commit e3a303f into main Feb 12, 2024
11 checks passed
@underdarknl underdarknl deleted the fix-cert-error-security-txt branch February 12, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants