-
Notifications
You must be signed in to change notification settings - Fork 87
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
Quoting variables leaves two kinds of quotes, e.g., Connection '"upgrade"'; #82
Comments
That's intended behavior. There is no way to produce the expected behavior that you posted there because nginx reads Can you provide an example of how this breaks windows support? |
Windows paths with spaces wrapped in @aluttik So are you saying that these are equivalent: A
B
C
D
|
No, A and B are and C and D are, but A and C are not the same. I'm saying that, to nginx, A and B and this example are all the same:
Crossplane decides if an argument needs quotes when written to the nginx config and adds them automatically for you. For example, it is not possible to make crossplane write If you use escaped quotes like If crossplane is making the wrong choice and not putting quotes around something that it should, causing nginx to behave in unexpected ways, then that's a bug. |
I said earlier that "quotes in nginx syntax are only for escaping whitespace", but that's not exactly true. I should have said that they are used only for escaping purposes, which includes escaping whitespace as well as special characters like |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
PS: I have also tried manually changing that line to:
Expected behavior
Your environment
Additional context
Keep in mind that this also breaks Windows support, as paths cannot be quoted properly.
The text was updated successfully, but these errors were encountered: