You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: