Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant access shellinabox with ie #273

Open
GoogleCodeExporter opened this issue May 16, 2015 · 1 comment
Open

cant access shellinabox with ie #273

GoogleCodeExporter opened this issue May 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 8 Dec 2014 at 6:33

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 28 Jan 2015 at 11:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant