diff options
author | Luke Granger-Brown <git@lukegb.com> | 2020-07-02T22·28+0100 |
---|---|---|
committer | lukegb <lukegb@tvl.fyi> | 2020-07-03T18·18+0000 |
commit | 3f6518ce99de8d8fa330ae551b2dc49b2094c712 (patch) | |
tree | 57d8abbcfb7225f1360e0d69446817df3ebfe3f1 /third_party/gerrit/use_detzip.patch | |
parent | 26bb34823d884a619985cf91262f180e0ad4d207 (diff) |
fix(gerrit): return HTML titles in more cases r/1199
At present, we don't return HTML titles if there's a trailing slash, or a patchset. Instead, just consume the / and anything after it. This also fixes /123, because this is HTTP redirected to the full path *with a trailing slash* which otherwise wouldn't get the title injected. Change-Id: Idfd0e67752880a37dce0b400a3c1cfc53fac2912 Reviewed-on: https://cl.tvl.fyi/c/depot/+/859 Reviewed-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/gerrit/use_detzip.patch')
-rw-r--r-- | third_party/gerrit/use_detzip.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/third_party/gerrit/use_detzip.patch b/third_party/gerrit/use_detzip.patch deleted file mode 100644 index 068bce77176c..000000000000 --- a/third_party/gerrit/use_detzip.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tools/js/download_bower.py b/tools/js/download_bower.py -index 1df4b826bc..65bda74082 100755 ---- a/tools/js/download_bower.py -+++ b/tools/js/download_bower.py -@@ -106,7 +106,7 @@ def main(): - args.b, '--quiet', 'install', '%s#%s' % (args.p, args.v))) - bc = os.path.join(cwd, 'bower_components') - subprocess.check_call( -- ['zip', '-q', '--exclude', '.bower.json', '-r', cached, args.n], -+ ['detzip', '--exclude', '.bower.json', cached, args.n], - cwd=bc) - - if args.s: |