[Webkit-unassigned] [Bug 129681] [GTK] Too many redirects visiting www.globalforestwatch.org
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 12 07:48:47 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=129681
Diego Pino <dpino at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dpino at igalia.com
--- Comment #1 from Diego Pino <dpino at igalia.com> 2014-03-12 07:49:10 PST ---
I monitored the request with Wireshark and this is the output:
GET / HTTP/1.1
Host: www.globalforestwatch.org
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/537.30 (KHTML, like Gecko) Safari/537.30
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
HTTP/1.1 302 Found
Cache-Control: no-cache
Content-Encoding: gzip
Content-Type: text/html; charset=utf-8
Date: Wed, 12 Mar 2014 14:32:27 GMT
Location: http://www.globalforestwatch.org/notsupportedbrowser
Server: WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
Vary: Accept-Encoding
X-Frame-Options: ALLOWALL
X-Request-Id: e8a845bb-7bad-4e82-b35f-41132603e6a9
X-Runtime: 0.004316
Content-Length: 123
Connection: keep-alive
.....o S....A.. ...... at .....X...kI.i....s.l.....;.r.R................c.....<....E+.b..C..d...KR....'.J..-...........
.3v...GET /notsupportedbrowser HTTP/1.1
Host: www.globalforestwatch.org
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/537.30 (KHTML, like Gecko) Safari/537.30
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
HTTP/1.1 302 Found
Cache-Control: no-cache
Content-Encoding: gzip
Content-Type: text/html; charset=utf-8
Date: Wed, 12 Mar 2014 14:32:27 GMT
Location: http://www.globalforestwatch.org/notsupportedbrowser
Server: WEBrick/1.3.1 (Ruby/2.1.0/2013-12-25)
Vary: Accept-Encoding
X-Frame-Options: ALLOWALL
X-Request-Id: 24c51c74-bc63-4258-9639-5c991298c905
X-Runtime: 0.004940
Content-Length: 123
Connection: keep-alive
.....o S....A.. ...... at .....X...kI.i....s.l.....;.r.R................c.....<....E+.b..C..d...KR....'.J..-...........
.3v...GET /notsupportedbrowser HTTP/1.1
Host: www.globalforestwatch.org
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/537.30 (KHTML, like Gecko) Safari/537.30
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Keep-Alive
And this keeps going on and on until the "Too many redirects" error happen.
I think this a problem related to the site. If I request the root page using curl:
$ curl http://www.globalforestwatch.org
<html><body>You are being <a href="http://www.globalforestwatch.org/notsupportedbrowser">redirected</a>.</body></html>
If now I follow the redirection and request "http://www.globalforestwatch.org/notsupportedbrowser":
$ curl http://www.globalforestwatch.org/notsupportedbrowser
<html><body>You are being <a href="http://www.globalforestwatch.org/notsupportedbrowser">redirected</a>.</body></html>
It seems clear that "http://www.globalforestwatch.org/notsupportedbrowser" should not check whether the browser is supported or not, because otherwise it creates a redirection infinite loop.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list