commit | 6a96f4200fae3c8f5a29d025d82054cc9f86c6f0 | [log] [tgz] |
---|---|---|
author | Parth Bhatia <parthbhatia98@gmail.com> | Thu Jun 08 17:54:07 2023 +0530 |
committer | Parth Bhatia <parthbhatia98@gmail.com> | Tue Apr 23 17:35:51 2024 +0530 |
tree | d92ad43c0ee5a176dcccb2174c715302b7795c74 | |
parent | e9e48538d19cd7406850a0671c6e5b763f7095da [diff] |
Added LFS to whitelist Change-Id: Ic20d63b4804b8db2a6fedca3c4bf83d874f8415c
diff --git a/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java b/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java index b4fd765..27f9523 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java +++ b/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
@@ -53,6 +53,7 @@ || path.equals("/ssh_info") || path.startsWith("/static/") || path.startsWith("/tools/hooks/") + || path.endsWith("/info/lfs/objects/batch") || Pattern.compile(GitOverHttpServlet.URL_REGEX).matcher(path).matches() || sessionProvider.get().isSignedIn()) { chain.doFilter(request, response);