Actual 8.14.1 release

- Fix unit tests by enforcing base64 validation
This commit is contained in:
Sean Whalen
2024-09-03 13:22:27 -04:00
parent 3ca3d64775
commit 79cd7d3c3d

View File

@@ -601,7 +601,8 @@ def extract_report(input_):
file_object = None
if isinstance(input_, str):
try:
file_object = BytesIO(b64decode(input_))
input_ = b64decode(input_, validate=True)
file_object = BytesIO(input_)
except binascii.Error:
pass
if file_object is None: