Skip to content

Conversation

@WKobes
Copy link
Collaborator

@WKobes WKobes commented Nov 8, 2024

Fixes #270
Fixes #1521

This PR basically adds three functionalies:

I decided to store the redirection domain in the report since this way the report result remains static and allows us to represent the invalid redirect in the report. Old report pages will show the redirection domain in the direct tests view for as long as this domain is testable.

Todo's

Questions/to check:

  • Does storing redirect domain have any implications for e.g. privacy?
  • Passing stored redirect domain as in interface/views/domain.py#L120 feels a bit fishy, can it be done better?
  • Possible a broken HTTP server sending multiple Location headers could break stuff
  • Currently does not check if response code is 30x, should we do this?
  • Will using a formatted string like checks/categories.py#L946 work in translation files?

@WKobes WKobes marked this pull request as draft November 8, 2024 12:57
@bwbroersma
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants