summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
authorDave Borowitz <dborowitz@google.com>2013-06-03 12:15:23 -0700
committerDave Borowitz <dborowitz@google.com>2013-06-04 00:12:01 +0000
commit91f3ba5a3f6e3c76577b94c0a6c31974d5a3f077 (patch)
treef24f107433374a5ae8264af2dbfbf01b59703dc8 /manifest_xml.py
parent710d4b03911bc6fc0b313af56e81b957ccae2348 (diff)
downloadgit-repo-91f3ba5a3f6e3c76577b94c0a6c31974d5a3f077.tar.gz
Ensure clone.bundle files have proper header
Server auth middleware may return a 200 from a clone.bundle request that is not a bundle file, but instead a login or access denied page. Instead of just checking the file size, actually check the first few bytes of the file to ensure it is a bundle file before proceeding. Change-Id: Icea07567c568a24fd838e5cf974c58f9e4abd7c0
Diffstat (limited to 'manifest_xml.py')
0 files changed, 0 insertions, 0 deletions