aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2024-01-02 00:55:04 +0100
committerLibravatar Rutger Broekhoff2024-01-02 00:55:04 +0100
commit97a37fb8a07afa51d0ed721ef7e6ea791937b710 (patch)
treedb64c02fe4b114f4e1b47e52aa351028e64bb837
parent9e8463e8dbc4bffcd22f9dd1896176829385dfde (diff)
downloadgitolfs3-97a37fb8a07afa51d0ed721ef7e6ea791937b710.tar.gz
gitolfs3-97a37fb8a07afa51d0ed721ef7e6ea791937b710.zip
Fix upload regex
-rw-r--r--cmd/git-lfs-server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/git-lfs-server/main.go b/cmd/git-lfs-server/main.go
index fe62724..9ba01a2 100644
--- a/cmd/git-lfs-server/main.go
+++ b/cmd/git-lfs-server/main.go
@@ -396,7 +396,7 @@ func isLFSMediaType(t string) bool {
396} 396}
397 397
398var reBatchAPI = regexp.MustCompile(`^([a-zA-Z0-9-_/]+)\.git/info/lfs/objects/batch$`) 398var reBatchAPI = regexp.MustCompile(`^([a-zA-Z0-9-_/]+)\.git/info/lfs/objects/batch$`)
399var reObjUpload = regexp.MustCompile(`^([a-zA-Z0-9-_/]+)\.git/info/lfs/objects/([0-9a-f]{2})/([0-9a-f]{2})/([0-9a-f]{2}){64}$`) 399var reObjUpload = regexp.MustCompile(`^([a-zA-Z0-9-_/]+)\.git/info/lfs/objects/([0-9a-f]{2})/([0-9a-f]{2})/([0-9a-f]{64})$`)
400 400
401type requestID struct{} 401type requestID struct{}
402 402