lsegal/yard — Issue #418: YARD server generates redirect loops for IE8, causing IE8 to choke
Author: L2G
Created: 2011-11-28 21:07:11+00:00
State: open

When browsing documentation via YARD's server, I often run up against pages that cause the cryptic error "Internet Explorer cannot display the webpage" in IE8 (8.0.6001.18702 on Windows XP, to be exact).

If it happens to be a YARD server I'm running locally, then I can see what's going wrong: the server is redirecting URLs back to themselves. Example:

localhost - - [28/Nov/2011:12:56:40 Pacific Standard Time] "GET /docs/yard/0.7.3/frames HTTP/1.1" 302 2107 http://localhost:8808/ -> /docs/yard/0.7.3/frames

Some URLs do not have this problem and can be browsed with no trouble, but there seems to be no pattern to predict this.

This interferes with using IE8 to browse documentation on any YARD server, even public ones (e.g. http://rubydoc.info/).