comparison hgext/record.py @ 42443:d3c81439e2ee

phabricator: auto-sanitise API tokens and HTTP cookies from VCR recordings Currently when making VCR recordings one needs to manually sanitise sensitive credentials before committing and submitting them as part of tests. It is easy to imagine this being accidentally missed one time by a fallible human and said credentials being leaked. It is also possible that it wouldn't be noticed to alert the user to the leak since the recording files are so large and practically unreviewable. Thus do so automatically, so the only place that needs checking is in the test-phabricator.t file. Differential Revision: https://phab.mercurial-scm.org/D6513
author Ian Moody <moz-ian@perix.co.uk>
date Tue, 11 Jun 2019 19:37:19 +0100
parents 4d21ebc4cb47
children 2372284d9457
comparison
equal deleted inserted replaced
42442:c1bf63ac30c5 42443:d3c81439e2ee