cant access shellinabox with ie
Opened this issue · 1 comments
GoogleCodeExporter commented
I really need help.
I cant access my server with internet explorer it just says cannot display
webpage I've tried compatibility mode and that doesn't work it works fine on
chrome
please help
Original issue reported on code.google.com by petrolhe...@gmail.com
on 8 Dec 2014 at 6:33
GoogleCodeExporter commented
If you are using IE11 this is probably the same issue as #262.
https://code.google.com/p/shellinabox/issues/detail?id=262
And this is the patch ...
--- a/libhttp/httpconnection.c
+++ b/libhttp/httpconnection.c
@@ -568,7 +568,7 @@ void httpTransfer(struct HttpConnection *http, char *msg,
int len) {
// also has difficulties with SSL connections that are being proxied.
int ieBug = 0;
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) {
ieBug++;
}
Original comment by luka.kra...@gmail.com
on 28 Jan 2015 at 11:39