Project: Mongrel

Revision: 1031

Author: normalperson

Date: 14 Jul 2008 20:44:17

Changes:

http_parser: restore r996 (accept '"', '<', and '>' characters in URLs)

This seems to have gotten accidentally dropped during a merge: r1020

Some broken web browsers don't properly escape ", <, and > characters
in URLs, however these URLs to occasionally legitimate and sometimes
show up.

This patch was submitted by Eden Li here:
http://rubyforge.org/pipermail/mongrel-users/2006-October/001845.html

This patch was accepted by Zed Shaw here:
http://rubyforge.org/pipermail/mongrel-users/2006-October/001847.html

Files:
modified: /trunk/ext/http11/http11_parser.c (try)
modified: /trunk/ext/http11/http11_parser_common.rl (try)
modified: /trunk/test/unit/test_http_parser.rb (try)
Diff: To list