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(FrontendProxy): Detection of /admin/, /Security/, /dev/ didn't disable caching properly. #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

silbinarywolf
Copy link

fix(FrontendProxy): Detection of /admin/, /Security/, /dev/ didn't disable caching properly.

@nyeholt
Copy link
Owner

nyeholt commented Jun 1, 2016

Is the problem that $fullUrl is including the hostname?

The original comparison is done that way to avoid skipping urls like

/something/with/admin/in0it

that isn't actually /admin/ at the top level. I'm not opposed to doing it this way, but just want to know if the issue is the way the regex is working because there's now more in the URL, or something else.

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