URL: https://github.com/freeipa/freeipa/pull/1102 Author: frasertweedale Title: #1102: py3: fix pkcs7 file processing Action: opened
PR body: """ https://pagure.io/freeipa/issue/7131 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1102/head:pr1102 git checkout pr1102
From e00037c59f81ba39717df616725c075d0d917d31 Mon Sep 17 00:00:00 2001 From: Fraser Tweedale <ftwee...@redhat.com> Date: Wed, 20 Sep 2017 18:38:24 +1000 Subject: [PATCH] py3: fix pkcs7 file processing https://pagure.io/freeipa/issue/7131 --- ipalib/x509.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipalib/x509.py b/ipalib/x509.py index 0b3a423ce3..9f7a3c3115 100644 --- a/ipalib/x509.py +++ b/ipalib/x509.py @@ -475,7 +475,7 @@ def pkcs7_to_certs(data, datatype=PEM): """ if datatype == PEM: match = re.match( - r'-----BEGIN PKCS7-----(.*?)-----END PKCS7-----', + br'-----BEGIN PKCS7-----(.*?)-----END PKCS7-----', data, re.DOTALL) if not match:
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org