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:
David Pursehouse
2015-07-03 09:08:01 +02:00
committed by Edwin Kempin
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}