Open
Description
There seems to be a bug in the concatenation code surrounding charsets, which adds a character that prevents files from downloading correctly:
When concatenating files, if any of them has a BOM present (or one of the files is UTF-8 encoded or contains unicode), the BOM should be stripped, prepended to the output, and the encoding headers updated.
Each file is modified from here:
nginx-http-concat/ngx-http-concat.php
Line 161 in 623aa7b
What’s needed is a check for a BOM, and if found, replace it with an empty string, and set a flag, and if that flag is found, prepend the BOM on the final output.
Metadata
Metadata
Assignees
Labels
No labels