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

DUMMY preview rebase #2377

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

tom-saunders-cts
Copy link
Contributor

Dummy

This appears to be the location the referenced parameter is used (along with locale which
is not mentioned) directly. The behaviour here should now be that:
- we iterate left to right through 'lng' parameters
- if we find one which is in our list of languages we use it
- if not we iterate left to right through 'locale' parameters
- if we find one which is in our list of languages we use it
- otherwise we use english
This was previously defaulted through helmet, but we have been flagged as the value
not being sufficiently long.
Also use long name for hsts (strictTransportSecurity) since this matches
the name of the header (similar to the other helmet uses).
I think this should make testing slightly cleaner?
I have not been able to figure a way to confirm that the resulting output is passed to
the express app itself as i can't seem to intercept the original express() call in app.js.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant