-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fixed 'overwritewebroot' not work with 'overwritecondaddr'. #31001
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.
👍 🐘
…ddr'. Signed-off-by: Takahiro Nagai <[email protected]> Signed-off-by: Simon L <[email protected]>
rebased and fixed conflicts |
CI failure unrelated |
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
Client ip address must be passed to fakeRequest (OC\AppFramework\Http\Request).
Since this is not case, 'overwritewebroot' under 'overwritecondaddr' does not work through OC\AppFramework\HTTP\Request#getScriptName and its isOverwriteCondition.
In order for 'overwritecondaddr' to work properly, PR #30654 must be also merged.