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

VCC: Prohibit the use of relative paths with +glob #4257

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

walid-git
Copy link
Member

This is a replacement for #4250, where it appeared that finding an unambiguous and easy to predict behavior when using +glob includes with relative paths involving vcl_path was not an easy task.

After some discussions, the consensus was that relative paths should not be allowed when using +glob includes.

Refs #4250
Closes #4249

These types of includes should be avoided since it would otherwise
be hard to predict the right behavior when matching glob patterns
in vcl_path directories.

Refs varnishcache#4250
Closes varnishcache#4249
@walid-git walid-git marked this pull request as ready for review February 3, 2025 16:24
@nigoroll
Copy link
Member

bugwash OK

@walid-git
Copy link
Member Author

bugwash: ok

@walid-git walid-git merged commit 2fe9138 into varnishcache:master Feb 17, 2025
9 of 10 checks passed
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.

VCL include +glob with relative path is not working
2 participants