[18.0][FIX] dbs value has to be kept in case of special proxy config - #3475
[18.0][FIX] dbs value has to be kept in case of special proxy config#3475cvinh wants to merge 1 commit into
Conversation
StefanRijnhart
left a comment
There was a problem hiding this comment.
Point of order: please include the module name in the commit and PR title, as in [FIX] dbfilter_from_header: keep dbs value in case of special proxy config.
On the 17.0 PR (#3261), someone mentions that this causes a regression wrt their combined use of both dbfilter and dbfilter_from_header. We need to discuss the pros and cons of each approach. To help with this, @cvinh can you add a test case to illustrate what issue this change solves for you?
|
I'm copying @hbrunn's comment here since I retracted PR #3694 (which was a duplicate of this one, sorry!):
|
|
Thanks @hbrunn for the comments, I see that there's more to the original 14.0 & 16.0s PR than it seems and a discussion is in point (as @StefanRijnhart suggests), even if they were already merged. The PR allows something like this:
This simple configuration allows one to have I see @hbrunn's point that this may expose the database listing for sites where My suggestion here would be to add another PR, to version 16.0 as a start, that fixes the readme sentence quoted above to (i) indicate that the header may override the If the approach seems ok, I can create the PR myself. Thanks! |
|
no, as original author of this module I say it should work exactly as the readme says and does in all versions except 14 and 16. Security by default is a good thing. |
|
Fair enough. I guess that this module may not be a good match for having an existing instance (coexisting with others on the same domain) serve a public website in the end. 🙂 Thanks @hbrunn for taking the time to discuss this! |
this commit has been merged for v14 and v16 but still pending for v17