diff options
author | James Moger <james.moger@gmail.com> | 2015-12-03 19:57:05 -0500 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2015-12-03 19:57:05 -0500 |
commit | 0aecfc10a08474a8ae19c2a46ea9ed77d75b2f6e (patch) | |
tree | cbe1eb0fd9657a3aeb6ef8b1f10eddc6153bbd0d /src/main/java/com | |
parent | d1eb00e7e98ec4d932a632e52d336c43a4351cb4 (diff) | |
parent | da29a4cfcdc35b50d9f56571f886ca355f452913 (diff) | |
download | gitblit-0aecfc10a08474a8ae19c2a46ea9ed77d75b2f6e.tar.gz gitblit-0aecfc10a08474a8ae19c2a46ea9ed77d75b2f6e.zip |
Merge pull request #969 from paulsputer/968-GitLFS-Extract-URI-From-Repository
fix for #968 extracting repository from URI
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/gitblit/servlet/FilestoreServlet.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/servlet/FilestoreServlet.java b/src/main/java/com/gitblit/servlet/FilestoreServlet.java index 19751483..8f303fcf 100644 --- a/src/main/java/com/gitblit/servlet/FilestoreServlet.java +++ b/src/main/java/com/gitblit/servlet/FilestoreServlet.java @@ -63,7 +63,7 @@ public class FilestoreServlet extends HttpServlet { public static final String GIT_LFS_META_MIME = "application/vnd.git-lfs+json"; - public static final String REGEX_PATH = "^(.*?)/(r|git)/(.*?)/info/lfs/objects/(batch|" + Constants.REGEX_SHA256 + ")"; + public static final String REGEX_PATH = "^(.*?)/(r)/(.*?)/info/lfs/objects/(batch|" + Constants.REGEX_SHA256 + ")"; public static final int REGEX_GROUP_BASE_URI = 1; public static final int REGEX_GROUP_PREFIX = 2; public static final int REGEX_GROUP_REPOSITORY = 3; |