docker-dmarc-report icon indicating copy to clipboard operation
docker-dmarc-report copied to clipboard

PARSER_XML_COMPRESS=1 breaks raw XML functionality

Open ghnp5 opened this issue 1 year ago • 0 comments

PARSER_XML_COMPRESS=1 seems to be supported as an env variable.

Then the parser saves the XML as gzip.

The problem is that the Report Viewer UI doesn't seem to support XML saved as gzip.

Warning: DOMDocument::loadXML(): Start tag expected, '<' not found in Entity, line: 1 in /var/www/viewer/dmarcts-report-viewer-report-data.php on line 213

Warning: Attempt to read property "localName" on null in /var/www/viewer/dmarcts-report-viewer-report-data.php on line 222

Warning: Attempt to read property "childNodes" on null in /var/www/viewer/dmarcts-report-viewer-report-data.php on line 227

Warning: foreach() argument must be of type array|object, null given in /var/www/viewer/dmarcts-report-viewer-report-data.php on line 227

Warning: Attempt to read property "localName" on null in /var/www/viewer/dmarcts-report-viewer-report-data.php on line 243

ghnp5 avatar Jan 28 '24 12:01 ghnp5