gerrit/gerrit-httpd
Jacek Centkowski 70642f1358 Filter Git LFS HTTP requests through auth filter
Git LFS requests include the authorization as HTTP Basic but
this is ignored and the user is treated as anonymous.

Filter these requests through the same auth filter as used for
git, so that the user can be determined.

The filter URL is based on the existing LFS regex [1] but ignores
the "/a/" prefix so that it is not called 2 times when LFS request
starting with "/a/" is performed.

[1] com.google.gerrit.httpd.plugins.LfsPluginServlet.URL_REGEX

Change-Id: I7ac47233cb003068722c117760731ae20ec63ace
Signed-off-by: Jacek Centkowski <jcentkowski@collab.net>
Signed-off-by: David Pursehouse <dpursehouse@collab.net>
2017-02-17 07:43:03 +00:00
..
src Filter Git LFS HTTP requests through auth filter 2017-02-17 07:43:03 +00:00
BUCK Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
BUILD Implement Bazel build 2016-06-14 21:12:02 +02:00