Add login-redirect clause for gitiles

Attempting to access a gitiles link while not logged in currently causes
a "Cannot parse URL as a Gitiles URL" error instead of being redirected
to log in.

If the path contains plugins and gitiles, redirect, else don't.

Change-Id: Icd1f5df84905592329b275648aacea6f3219be08
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 3da3598..ae056b0 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
@@ -46,7 +46,7 @@
         || path.equals("/login")
         || path.startsWith("/login/")
         || path.equals("/oauth")
-        || path.startsWith("/plugins/")
+        || (path.startsWith("/plugins/") && !path.startsWith("/plugins/gitiles/"))
         || path.equals("/ssh_info")
         || path.startsWith("/static/")
         || path.startsWith("/tools/hooks/")