mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-12 21:58:58 -04:00
fix(proxy): suppress auth challenges for failed signed URLs
Do not set WWW-Authenticate headers when an active signed URL authentication attempt fails. Signed URL clients cannot respond to Basic or Bearer challenges, and advertising them may trigger unintended authentication prompts. Keep returning 401 Unauthorized while preserving the existing challenge behavior for unsigned requests and disabled signed URL mechanisms.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f