[Ovirt-devel] Rails/mongrel/httpd issue - F13, rails 2.3.5
Darryl L. Pierce
dpierce at redhat.com
Tue May 18 17:25:03 UTC 2010
On Tue, May 18, 2010 at 11:36:04AM +0200, Arthur Clément wrote:
> Hi
>
> Thanks a colleague (Patrick Guiran), we found the trick to solve the problem.
> Here is the patch to apply from the mongrel root directory :
> ====================================
> --- lib/mongrel/cgi.rb 2010-05-18 11:20:47.414269158 +0200
> +++ lib/mongrel/cgi.rb 2010-05-18 11:20:09.328271509 +0200
> @@ -105,7 +105,8 @@
> when Hash
> cookie.each_value {|c| to['Set-Cookie'] = c.to_s}
> else
> - to['Set-Cookie'] = options['cookie'].to_s
> + # patched by pguiran at linagora.com (18/05/10)
> + to['Set-Cookie'] = cookie.to_s
> end
>
> @head.delete('cookie')
> ====================================
>
> After some search, we found that this bug is corrected on the mongrel trunk,
> and was written by "Evan Weaver", on march 2008, and commited by "Matt
> Aimonetti", on march 2009.
> Here is the link of the commit :
> http://github.com/fauna/mongrel/commit/7c9d988d4de2e08d67f95ca209196427fd89c9af
>
> our bugs is designed as the bug #16:
> - Close #16, XXX needs audit! (CGIWrapper "options" attr_reader has no
> corresponding @options variable).
If this was fixed so long ago (two years ago fixed, over a year ago
committed) do we know why it's not available in the distribution? Can
you open a new BZ or else add a comment to an exist BZ to get the
package maintainer to release an update?
--
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20100518/912d75da/attachment.sig>
More information about the ovirt-devel
mailing list