[Ovirt-devel] Rails/mongrel/httpd issue - F13, rails 2.3.5

Arthur Clément aclement at linagora.com
Wed May 19 05:57:22 UTC 2010



On mardi 18 mai 2010 19:25:03 Darryl L. Pierce wrote:
> 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/7c9d988d4de2e08d67f95ca209196427fd
> > 89c9af
> > 
> > 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?

Mongrel 1.1.5 is the last stable release, or at least it's the last available 
tarball. There were newer versions but only released via gem, so I don't think 
the maintainer "forgot" this package.




More information about the ovirt-devel mailing list