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

Fix overlapping configs on shared frontend #308

Merged
merged 1 commit into from
Feb 28, 2019
Merged

Conversation

jcmoraisjr
Copy link
Owner

An overlap happens whenever a /path of a domain has a configuration, eg whitelist or body-size limit, and a /path/sub doesn’t have such configuration. Most of match is made with path_beg which will also match the subpath uri. This change adds a !{ subpath } acl to fix this behavior.

An overlap happens whenever a `/path` of a domain has a configuration, eg whitelist or body-size limit, and a `/path/sub` doesn’t have such configuration. Most of match is made with path_beg which will also match the subpath uri. This change adds a `!{ subpath }` acl to fix this behavior.
@jcmoraisjr jcmoraisjr merged commit e87c180 into master Feb 28, 2019
@jcmoraisjr jcmoraisjr deleted the jm-fix-overlap branch April 29, 2019 00:53
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.

1 participant