fix for #968 extracting repository from URI
+ Allows using lfs when `server.contextPath = /git`
| | |
| | | |
| | | 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; |