IE 11 - This page can’t be displayed (Issue #262)
Now we are able to identify IE11 as MSIE browser and disable compresion. Patch taken from issue comments. https://code.google.com/p/shellinabox/issues/detail?id=262
This commit is contained in:
parent
bd3f0bd9fd
commit
4f0b949081
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ void httpTransfer(struct HttpConnection *http, char *msg, int len) {
|
||||||
// also has difficulties with SSL connections that are being proxied.
|
// also has difficulties with SSL connections that are being proxied.
|
||||||
int ieBug = 0;
|
int ieBug = 0;
|
||||||
const char *userAgent = getFromHashMap(&http->header, "user-agent");
|
const char *userAgent = getFromHashMap(&http->header, "user-agent");
|
||||||
const char *msie = userAgent ? strstr(userAgent, "MSIE ") : NULL;
|
const char *msie = userAgent ? strstr(userAgent, "Trident") : NULL;
|
||||||
if (msie) {
|
if (msie) {
|
||||||
ieBug++;
|
ieBug++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue