-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[SecurityHeaders] Added a possibility for no follow redirects #6212
[SecurityHeaders] Added a possibility for no follow redirects #6212
Conversation
336a15b
to
016a06d
Compare
016a06d
to
1a112dc
Compare
Yeah that does make it feel a bit awkward. I suppose another way would be to just have cc @badges/shields-maintainers for any other perspectives, I'm a little torn myself |
Personally I would favour having |
I think I'm for In general the way we do boolean params is presence in the qs means true, so maintaining that consistency is useful Also, the current default is probably the behaviour most users want for this badge so I think it makes more sense if the route most people want is |
That would still be the case, the absence of the query param would still result in redirects being followed. I don't feel too strongly about this one though, just something about |
|
Sounds like Also just out of curiosity, what does a rating of R correlate to? Hopefully this isn't a scale that runs from A through at least R 😄 |
@calebcartwright I will make the changes to |
If I similarly don't have strong opinions on this one so will go ahead and approve, but will hold off on merging in case others have different views |
Co-authored-by: chris48s <chris48s@users.noreply.github.com>
Added a possibility for no follow redirects on Security Headers badge like:
The naming of the parameter is a bit reverse but could not figure out if it is possible introduce a new parameter without breaking existing badges.
fixes #6211