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
1 file changed
tree: 1f4db4a6bf0c0f3b7837c4aaa7ec9f25fef8c3e2
  1. BUILD
  2. src/