WP Super Cache is setting invalid header!
-
The plugin is setting the following header:
Content-Type: text/html; charset=”UTF-8″
The problem are the quotes. There must not be quotes according to the specs! https://www.w3.org/International/articles/http-charset/index.en
This is problematic because it prevented us to use a certain REST service with the cache enabled!
The faulty code is in wp-cache-phase2.php, line 907:
$value .= “; charset=\”” . $wp_cache_blog_charset . “\””;
This prevents us to further use the plugin and might be cause for plenty of other peoples issues.
The topic ‘WP Super Cache is setting invalid header!’ is closed to new replies.