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

Config file: Whitespace in ; and | separate lists are not ignored and cause unexpected behavior #3572

Open
HereThereBeDragons opened this issue Apr 9, 2024 · 0 comments

Comments

@HereThereBeDragons
Copy link
Contributor

Given e.g. the following parameter
CVMFS_HTTP_PROXY="http://p1.site.example.org:3128| http://p2.site.example.org:3128; http://p3.region.example.org:3128| http://p4.region.example.org:3128"

This will not be correctly parsed as the whitespaces around each URL are not trimmed. As such, any URL starting with a white space will fail when trying to resolve it - defacto it will be ignored.

(For concrete example see #3440)

There is no obvious mentioning in the documentation that this is the case.
Also I would argue that it would be nice to allow to ignore white spaces around | and ; . Using whitespaces increases human readability and would be expected behavior nowadays.

@HereThereBeDragons HereThereBeDragons added this to the 2.12 milestone Apr 9, 2024
@HereThereBeDragons HereThereBeDragons changed the title Config file: Whitespace in ; and | separate lists are not ignored and cause faulty behavior Config file: Whitespace in ; and | separate lists are not ignored and cause unexpected behavior Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant