D6863: py3: byte-prefix sanitisation regexes in phabricator.py
Kwan (Ian Moody)
phabricator at mercurial-scm.org
Wed Sep 18 00:52:29 EDT 2019
Closed by commit rHG04c6de38734d: py3: byte-prefix sanitisation regexes in phabricator.py (authored by Kwan).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6863?vs=16574&id=16584
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6863/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6863
AFFECTED FILES
hgext/phabricator.py
CHANGE DETAILS
diff --git a/hgext/phabricator.py b/hgext/phabricator.py
--- a/hgext/phabricator.py
+++ b/hgext/phabricator.py
@@ -136,8 +136,8 @@
def sanitiserequest(request):
request.body = re.sub(
- r'cli-[a-z0-9]+',
- r'cli-hahayouwish',
+ br'cli-[a-z0-9]+',
+ br'cli-hahayouwish',
request.body
)
return request
To: Kwan, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list