-
Notifications
You must be signed in to change notification settings - Fork 451
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
Add check for base_prefix indicating Radicale running at site root (/) #1343
Conversation
Please check format, according to "Files changed" unexpected indent is inserted? |
That is intentional to get the block under the |
Have you tested reachability of your code? I think it will never be reached as it is after the before:
after:
|
hm, let me check that again. We changed a few more things in the course of getting the |
We reverted back to |
I'm still wondering why this was set at all, what is the sense behind?
Patch would not be required if this RequestHeader is not set |
Because the docs say to set that and it is common on other web applications that are proxied. #1310 wants to fix the docs. Which is - imho - less likely to work than just doing the right thing in the code. |
current doc says I would not change the code if it's only about documentation. |
The doc is an example if people run their |
#1310 was merged today, is this PR then still valid? |
Sure, it still saves people that have not spotted the newly added info in the |
this PR breaks checks |
Yeah, somebody wrote an explicit test for the "/" -> force user to unset X-Script-Name case. Let's keep it as is. |
Alternative to PR #1310 (which in turn documents the issue from #1210)
This small code amendment makes it more easy for users than having to do the right thing™ from documentation which is a bit non-intuitive