Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The function drupal_add_http_header have two params, but the module send only one.
Example now:
drupal_add_http_header('Content-Type: text/csv; utf-8');
Example correct implementation:
drupal_add_http_header('Content-Type', 'text/csv; utf-8');
Comment | File | Size | Author |
---|---|---|---|
#1 | bad_implementation_of_drupal_add_http_header-1863948-0.patch | 759 bytes | MaxMendez |
Comments
Comment #1
MaxMendez CreditAttribution: MaxMendez commentedPatch here, thanks for this module
Comment #2
anarcat CreditAttribution: anarcat commentedPlease to not mark patches RTBC yourself, usually you mark needs review and someone else tests it. :) But since the patch is quite trivial and probably works after review, I just committed it.
Thanks!