forgejo-aneksajo_auto_patch.../data/49/patched.diff
2025-01-23 01:26:39 +01:00

6 lines
470 B
Diff

46,47c46,47
< // Basic authentication should only fire on API, Download or on Git or LFSPaths
< if !middleware.IsAPIPath(req) && !isContainerPath(req) && !isAttachmentDownload(req) && !isGitRawOrAttachOrLFSPath(req) {
---
> // Basic authentication should only fire on API, Download or on Git, LFSPaths or Git-Annex paths
> if !middleware.IsAPIPath(req) && !isContainerPath(req) && !isAttachmentDownload(req) && !isGitRawOrAttachOrLFSPath(req) && !isAnnexPath(req) {