Merge branch 'stable-2.11'
* stable-2.11: Update download-commands plugin revision Make sure /a is not in the project name for git-over-http requests Update plugin archetype version in plugin documentation to 2.11 Avoid NPE in get related changes * Update download-commands plugin revision: Include '/a' into HttpScheme URLs to trigger authentication Change-Id: I3536900d131d01aad9144bdb9d452725ab06cc83 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -91,7 +91,7 @@ public class GitOverHttpServlet extends GitServlet {
|
||||
public static final String URL_REGEX;
|
||||
static {
|
||||
StringBuilder url = new StringBuilder();
|
||||
url.append("^(?:/p/|/)(.*/(?:info/refs");
|
||||
url.append("^(?:/a)?(?:/p/|/)(.*/(?:info/refs");
|
||||
for (String name : GitSmartHttpTools.VALID_SERVICES) {
|
||||
url.append('|').append(name);
|
||||
}
|
||||
|
Submodule plugins/download-commands updated: a080fbb183...de482c42d4
Reference in New Issue
Block a user