fix: preserve method and URI when redirecting WebDAV through GSS - #196
Conversation
|
Why making a request to master and not directly on the slave ? |
|
I added a little script so you can check wether it works or not when on a gs scale architecture, with or without the different patches we have put, including the last one. Please feel free to contact me if you want to check it together. Kind regards |
When Basic credentials are presented on a direct WebDAV endpoint, the master now forwards the request as-is to the slave with a 307, which preserves both method and URI per RFC 9110 §15.4.8. The autologin JWT flow is kept intact for every other path. Signed-off-by: Nicolas Varlot <nicolas.varlot@ac-versailles.fr> Signed-off-by: Nicolas Varlot <165952530+n-iv@users.noreply.github.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
685a4f8 to
7f5bd61
Compare
|
/backport to stable2.7 |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
When Basic credentials are presented on a direct WebDAV endpoint, the master now forwards the request as-is to the slave with a 307, which preserves both method and URI per RFC 9110 §15.4.8. The autologin JWT flow is kept intact for every other path.