Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encrypted raw XML #76

Open
FVZGmbH opened this issue Jul 28, 2021 · 1 comment
Open

encrypted raw XML #76

FVZGmbH opened this issue Jul 28, 2021 · 1 comment

Comments

@FVZGmbH
Copy link

FVZGmbH commented Jul 28, 2021

The dmarcts-report-parser encodes the raw XML with 'encode_base64', but you don't encode it.
dmarcts-report-viewer-report-data.php line 209 should be:
$dom->loadXML(base64_decode($raw_xml));

@CyBHFal
Copy link

CyBHFal commented Nov 28, 2021

If "$compress_xml = 1;" is set in dmarcts-report-parser.conf, it shoud even be :
$dom->loadXML(gzdecode(base64_decode($raw_xml)));

An option in dmarcts-report-viewer-options.php to specify that xml is compressed would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants