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

Surround value with quotes #45

Merged
merged 1 commit into from
Sep 7, 2021
Merged

Surround value with quotes #45

merged 1 commit into from
Sep 7, 2021

Conversation

djuber
Copy link
Contributor

@djuber djuber commented Sep 7, 2021

Fixes an error seen when starting traefik due to an unquoted string

*file.Provider: Near line 22 (last key parsed 'http.middlewares.security.headers.ReferrerPolicy'): expected value but found \"same\" instead"

On main - building in qemu - the resulting /opt/forem/configs/traefik/dynamic.toml includes an unquoted string for referrer policy:

ReferrerPolicy = same-origin

On this branch the generated toml file quotes that value

ReferrerPolicy = "same-origin"

@djuber djuber merged commit c3260d6 into main Sep 7, 2021
@djuber djuber deleted the djuber/quote-string branch September 7, 2021 14:17
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