diff options
author | Rutger Broekhoff | 2024-01-02 00:55:04 +0100 |
---|---|---|
committer | Rutger Broekhoff | 2024-01-02 00:55:04 +0100 |
commit | 97a37fb8a07afa51d0ed721ef7e6ea791937b710 (patch) | |
tree | db64c02fe4b114f4e1b47e52aa351028e64bb837 /cmd | |
parent | 9e8463e8dbc4bffcd22f9dd1896176829385dfde (diff) | |
download | gitolfs3-97a37fb8a07afa51d0ed721ef7e6ea791937b710.tar.gz gitolfs3-97a37fb8a07afa51d0ed721ef7e6ea791937b710.zip |
Fix upload regex
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/git-lfs-server/main.go | 2 |
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 | ||
398 | var reBatchAPI = regexp.MustCompile(`^([a-zA-Z0-9-_/]+)\.git/info/lfs/objects/batch$`) | 398 | var reBatchAPI = regexp.MustCompile(`^([a-zA-Z0-9-_/]+)\.git/info/lfs/objects/batch$`) |
399 | var reObjUpload = regexp.MustCompile(`^([a-zA-Z0-9-_/]+)\.git/info/lfs/objects/([0-9a-f]{2})/([0-9a-f]{2})/([0-9a-f]{2}){64}$`) | 399 | var 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 | ||
401 | type requestID struct{} | 401 | type requestID struct{} |
402 | 402 | ||