3
0
Fork 0

+ Fix code in ZIM reader class breaking DOM integrity

small_fixes
kelson42 11 years ago
parent c8f6243411
commit 838bb06204

@ -399,7 +399,7 @@ static int accessHandlerCallback(void *cls,
contentLength > KIWIX_MIN_CONTENT_SIZE_TO_DEFLATE &&
contentLength < COMPRESSOR_BUFFER_SIZE &&
acceptEncodingDeflate &&
( mimeType.find("text/") != string::npos || mimeType == application );
( mimeType.find("text/") != string::npos || mimeType == "application/javascript" );
/* Compress the content if necessary */
if (deflated) {

Loading…
Cancel
Save