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: ALLOWED_HOSTS logic being overwritten when * is set #3218
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense to me, thanks
Codecov Report
@@ Coverage Diff @@
## dev #3218 +/- ##
=======================================
Coverage 93.34% 93.34%
=======================================
Files 156 156
Lines 6656 6657 +1
=======================================
+ Hits 6213 6214 +1
Misses 443 443
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me as well. We can ignore the patch coverage failure. settings isn't covered for this sort of setup
Sorry spotted something hang on. |
Sorry folks it's 3:24AM here, I guess coding at night isn't a great idea. Before:
I was appending a list to a list. But it should be appending a host as a string to the list.
|
Appreciate you catching that syntax thing! |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. |
Proposed change
localhost
PAPERLESS_URL
is defined, appendlocalhost
and_paperless_uri.hostname
Fixes #3214
Type of change
Checklist:
pre-commit
hooks, see documentation.