<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">424</assigned-user-id>
  <attachments-count type="integer">2</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2009-02-13T01:25:01+00:00</created-at>
  <creator-id type="integer">23021</creator-id>
  <milestone-due-on type="datetime">2009-01-31T00:00:00+00:00</milestone-due-on>
  <milestone-id type="integer" nil="true"></milestone-id>
  <number type="integer">1957</number>
  <permalink>sessions-break-in-23-with-mongrel</permalink>
  <priority type="integer">40</priority>
  <project-id type="integer">8994</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>resolved</state>
  <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
  <title>Sessions break in 2.3 with Mongrel</title>
  <updated-at type="datetime">2009-02-18T19:40:23+00:00</updated-at>
  <user-id type="integer">17104</user-id>
  <user-name>Luigi Montanez</user-name>
  <creator-name>Nolan Eakins</creator-name>
  <assigned-user-name>Joshua Peek</assigned-user-name>
  <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
  <original-body>Starting Mongrel with the following command while using Rails v2.3.0 (git tag) and cookie stored sessions prevents any updates to my session from getting communicated back to the browser.

The only test I have at the moment is to start Mongrel using &quot;mongrel_rails start -d --port=3001 --environment=development --pid `pwd`/tmp/pids/mongrel_selenium.pid&quot; and to do something such as a login.

I don't have this problem using Passenger, Thin, or ./script/server with Mongrel. Scott Taylor posted a comment regarding his experience with this issue over at http://rails.lighthouseapp.com/projects/8994/tickets/1823-bugpatch-response-and-request-objects-dont-use-the-same-session

My Mongrel version is 1.1.5.</original-body>
  <latest-body>Starting Mongrel with the following command while using Rails v2.3.0 (git tag) and cookie stored sessions prevents any updates to my session from getting communicated back to the browser.

The only test I have at the moment is to start Mongrel using &quot;mongrel_rails start -d --port=3001 --environment=development --pid `pwd`/tmp/pids/mongrel_selenium.pid&quot; and to do something such as a login.

I don't have this problem using Passenger, Thin, or ./script/server with Mongrel. Scott Taylor posted a comment regarding his experience with this issue over at http://rails.lighthouseapp.com/projects/8994/tickets/1823-bugpatch-response-and-request-objects-dont-use-the-same-session

My Mongrel version is 1.1.5.</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;Starting Mongrel with the following command while using Rails
v2.3.0 (git tag) and cookie stored sessions prevents any updates to
my session from getting communicated back to the browser.&lt;/p&gt;
&lt;p&gt;The only test I have at the moment is to start Mongrel using
&quot;mongrel_rails start -d --port=3001 --environment=development --pid
&lt;code&gt;pwd&lt;/code&gt;/tmp/pids/mongrel_selenium.pid&quot; and to do something
such as a login.&lt;/p&gt;
&lt;p&gt;I don't have this problem using Passenger, Thin, or
./script/server with Mongrel. Scott Taylor posted a comment
regarding his experience with this issue over at &lt;a href=&quot;http://rails.lighthouseapp.com/projects/8994/tickets/1823-bugpatch-response-and-request-objects-dont-use-the-same-session&quot;&gt;
http://rails.lighthouseapp.com/p...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My Mongrel version is 1.1.5.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Starting Mongrel with the following command while using Rails v2.3.0 (git tag) and cookie stored sessions prevents any updates to my session from getting communicated back to the browser.

The only test I have at the moment is to start Mongrel using &quot;mongrel_rails start -d --port=3001 --environment=development --pid `pwd`/tmp/pids/mongrel_selenium.pid&quot; and to do something such as a login.

I don't have this problem using Passenger, Thin, or ./script/server with Mongrel. Scott Taylor posted a comment regarding his experience with this issue over at http://rails.lighthouseapp.com/projects/8994/tickets/1823-bugpatch-response-and-request-objects-dont-use-the-same-session

My Mongrel version is 1.1.5.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Starting Mongrel with the following command while using Rails
v2.3.0 (git tag) and cookie stored sessions prevents any updates to
my session from getting communicated back to the browser.&lt;/p&gt;
&lt;p&gt;The only test I have at the moment is to start Mongrel using
&quot;mongrel_rails start -d --port=3001 --environment=development --pid
&lt;code&gt;pwd&lt;/code&gt;/tmp/pids/mongrel_selenium.pid&quot; and to do something
such as a login.&lt;/p&gt;
&lt;p&gt;I don't have this problem using Passenger, Thin, or
./script/server with Mongrel. Scott Taylor posted a comment
regarding his experience with this issue over at &lt;a href=&quot;http://rails.lighthouseapp.com/projects/8994/tickets/1823-bugpatch-response-and-request-objects-dont-use-the-same-session&quot;&gt;
http://rails.lighthouseapp.com/p...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My Mongrel version is 1.1.5.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-13T01:25:02+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bugs cookiestore sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-13T01:25:07+00:00</updated-at>
      <user-id type="integer">23021</user-id>
      <user-name>Nolan Eakins</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>See the comments in #1823 for more info</body>
      <body-html>&lt;div&gt;&lt;p&gt;See the comments in &lt;a href=&quot;/projects/8994/tickets/1823&quot; title=&quot;Ticket #1823&quot;&gt;#1823&lt;/a&gt; for more info&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-13T01:48:19+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bugs cookiestore sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-13T01:48:20+00:00</updated-at>
      <user-id type="integer">13817</user-id>
      <user-name>Scott Taylor</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Nolan - Can you try out the patch I'm attaching to this ticket?  

It looks like the Set-Cookie header isn't being set properly.  Mongrel expects an options hash like {:Set-Cookie =&gt; &quot;var=value&quot;}, but occasionally an array will be given instead, like so: {&quot;Set-Cookie&quot; =&gt; [&quot;var=value&quot;, &quot;var2=value&quot;]}

Looks like thin handles these nested values.  Mongrel doesn't, and ends up sending the header &quot;Set-Cookie: &quot; - i.e., with an empty value.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Nolan - Can you try out the patch I'm attaching to this
ticket?&lt;br&gt;&lt;/p&gt;
&lt;p&gt;It looks like the Set-Cookie header isn't being set properly.
Mongrel expects an options hash like {:Set-Cookie =&amp;gt;
&quot;var=value&quot;}, but occasionally an array will be given instead, like
so: {&quot;Set-Cookie&quot; =&amp;gt; [&quot;var=value&quot;, &quot;var2=value&quot;]}&lt;/p&gt;
&lt;p&gt;Looks like thin handles these nested values. Mongrel doesn't,
and ends up sending the header &quot;Set-Cookie: &quot; - i.e., with an empty
value.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-13T04:51:23+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: 2.3 actionpack bugs cookiestore sessions
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-13T04:51:26+00:00</updated-at>
      <user-id type="integer">13817</user-id>
      <user-name>Scott Taylor</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Actually, try the following patch.  The code is a bit cleaner.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Actually, try the following patch. The code is a bit
cleaner.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-13T04:56:36+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-13T04:56:41+00:00</updated-at>
      <user-id type="integer">13817</user-id>
      <user-name>Scott Taylor</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Well Scott, your patch seemed to fix the issue I was having. Congrats.

Now to annoy a comitter...</body>
      <body-html>&lt;div&gt;&lt;p&gt;Well Scott, your patch seemed to fix the issue I was having.
Congrats.&lt;/p&gt;
&lt;p&gt;Now to annoy a comitter...&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-14T01:26:53+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-14T01:26:59+00:00</updated-at>
      <user-id type="integer">23021</user-id>
      <user-name>Nolan Eakins</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-14T03:44:25+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- 
:milestone: 9903
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-14T03:44:32+00:00</updated-at>
      <user-id type="integer">424</user-id>
      <user-name>Joshua Peek</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>The real issue (at least that I'm seeing) is that multiple cookies in a single response are concatenated into a single malformed Set-Cookie header (as if Array#to_s is called) rather than separate headers.  The patch prevents this by giving the last cookie precedence but at the cost of limiting a response to setting a single cookie.

I've yet to find the proper fix for this issue but -1 on this patch.</body>
      <body-html>&lt;div&gt;&lt;p&gt;The real issue (at least that I'm seeing) is that multiple
cookies in a single response are concatenated into a single
malformed Set-Cookie header (as if Array#to_s is called) rather
than separate headers. The patch prevents this by giving the last
cookie precedence but at the cost of limiting a response to setting
a single cookie.&lt;/p&gt;
&lt;p&gt;I've yet to find the proper fix for this issue but -1 on this
patch.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-14T09:44:47+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-14T09:44:52+00:00</updated-at>
      <user-id type="integer">10222</user-id>
      <user-name>Tim Pope</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I'm starting to look at this a little deeper. I'm seeing a ton of duplicated cookie building code in ActionPack and Rack. Namely in:

* Rails
** actionpack/lib/action_controller/response.rb
** actionpack/lib/action_controller/session/cookie_store.rb
* Rack: rack/lib/rack/response.rb

Not sure why there needs to be three implementations that at first glance seem to do the same.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'm starting to look at this a little deeper. I'm seeing a ton
of duplicated cookie building code in ActionPack and Rack. Namely
in:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Rails
&lt;strong&gt;actionpack/lib/action_controller/response.rb&lt;/strong&gt;
actionpack/lib/action_controller/session/cookie_store.rb&lt;/li&gt;
&lt;li&gt;Rack: rack/lib/rack/response.rb&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Not sure why there needs to be three implementations that at
first glance seem to do the same.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-14T18:51:40+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 424
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-14T18:51:46+00:00</updated-at>
      <user-id type="integer">23021</user-id>
      <user-name>Nolan Eakins</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Oops. Cleared the assigned user on this ticket.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Oops. Cleared the assigned user on this ticket.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-14T18:52:21+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-14T18:52:24+00:00</updated-at>
      <user-id type="integer">23021</user-id>
      <user-name>Nolan Eakins</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Looks like actionpack/lib/action_controller/session/abstract_store.rb also includes the same cookie building snippet as those files. Definitely getting off topic here, but I'm seeing this all over the place:

&lt;pre&gt;
          cookie = Rack::Utils.escape(@key) + '=' + Rack::Utils.escape(sid)
          cookie &lt;&lt; &quot;; domain=#{options[:domain]}&quot; if options[:domain]
          cookie &lt;&lt; &quot;; path=#{options[:path]}&quot; if options[:path]
          if options[:expire_after]
            expiry = Time.now + options[:expire_after]
            cookie &lt;&lt; &quot;; expires=#{expiry.httpdate}&quot;
          end
          cookie &lt;&lt; &quot;; Secure&quot; if options[:secure]
          cookie &lt;&lt; &quot;; HttpOnly&quot; if options[:httponly]

          headers = response[1]
          case a = headers[SET_COOKIE]
          when Array
            a &lt;&lt; cookie
          when String
            headers[SET_COOKIE] = [a, cookie]
          when nil
            headers[SET_COOKIE] = cookie
          end
        end
&lt;/pre&gt;</body>
      <body-html>&lt;div&gt;&lt;p&gt;Looks like
actionpack/lib/action_controller/session/abstract_store.rb also
includes the same cookie building snippet as those files.
Definitely getting off topic here, but I'm seeing this all over the
place:&lt;/p&gt;
&lt;pre&gt;
          cookie = Rack::Utils.escape(@key) + '=' + Rack::Utils.escape(sid)
          cookie &amp;lt;&amp;lt; &quot;; domain=#{options[:domain]}&quot; if options[:domain]
          cookie &amp;lt;&amp;lt; &quot;; path=#{options[:path]}&quot; if options[:path]
          if options[:expire_after]
            expiry = Time.now + options[:expire_after]
            cookie &amp;lt;&amp;lt; &quot;; expires=#{expiry.httpdate}&quot;
          end
          cookie &amp;lt;&amp;lt; &quot;; Secure&quot; if options[:secure]
          cookie &amp;lt;&amp;lt; &quot;; HttpOnly&quot; if options[:httponly]

          headers = response[1]
          case a = headers[SET_COOKIE]
          when Array
            a &amp;lt;&amp;lt; cookie
          when String
            headers[SET_COOKIE] = [a, cookie]
          when nil
            headers[SET_COOKIE] = cookie
          end
        end
&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-14T18:59:17+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-14T18:59:23+00:00</updated-at>
      <user-id type="integer">23021</user-id>
      <user-name>Nolan Eakins</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>More poking. My finger is tempted to point at the mongrel_rails command for not using Rack. Did come across http://www.ruby-forum.com/topic/154903 which is a thread about this exact issue.</body>
      <body-html>&lt;div&gt;&lt;p&gt;More poking. My finger is tempted to point at the mongrel_rails
command for not using Rack. Did come across &lt;a href=&quot;http://www.ruby-forum.com/topic/154903&quot;&gt;http://www.ruby-forum.com/topic/...&lt;/a&gt;
which is a thread about this exact issue.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-14T20:06:48+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-14T20:06:51+00:00</updated-at>
      <user-id type="integer">23021</user-id>
      <user-name>Nolan Eakins</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I commented on Scott's ticket, but I seem to be having a similar problem with Passenger.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I commented on Scott's ticket, but I seem to be having a similar
problem with Passenger.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-14T21:32:39+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-14T21:32:46+00:00</updated-at>
      <user-id type="integer">37717</user-id>
      <user-name>Josh Pencheon</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>There were some 1.9 spec changes in Rack recently. Headers need to be strings instead of arrays.

@@@ ruby
          cookie = build_cookie(@key, cookie.merge(options))
          unless headers[HTTP_SET_COOKIE].blank?
            headers[HTTP_SET_COOKIE] &lt;&lt; &quot;\n#{cookie}&quot;
          else
            headers[HTTP_SET_COOKIE] = cookie
          end
@@@

Not sure how this changes things. Can you please try again with edge rails.</body>
      <body-html>&lt;div&gt;&lt;p&gt;There were some 1.9 spec changes in Rack recently. Headers need
to be strings instead of arrays.&lt;/p&gt;


&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;
          cookie = build_cookie(@key, cookie.merge(options))
          unless headers[HTTP_SET_COOKIE].blank?
            headers[HTTP_SET_COOKIE] &amp;lt;&amp;lt; &amp;quot;\n#{cookie}&amp;quot;
          else
            headers[HTTP_SET_COOKIE] = cookie
          end
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Not sure how this changes things. Can you please try again with
edge rails.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-15T00:27:11+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-15T00:27:13+00:00</updated-at>
      <user-id type="integer">424</user-id>
      <user-name>Joshua Peek</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Joshua, I just tried master with `mongrel_rails` and no improvement there. I should give Mongrel's head a try, but a no go w/ 1.1.5 which given my poking around earlier today I'm assuming is not using Rack.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Joshua, I just tried master with &lt;code&gt;mongrel_rails&lt;/code&gt; and
no improvement there. I should give Mongrel's head a try, but a no
go w/ 1.1.5 which given my poking around earlier today I'm assuming
is not using Rack.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-15T00:35:50+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-15T00:35:53+00:00</updated-at>
      <user-id type="integer">23021</user-id>
      <user-name>Nolan Eakins</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>On edge rails (238a6bb62dc153743a0abc6eb1e35392ac799d65) and passenger (2.0.6, osx), I still have problems setting any kind of cookies. On edge last week (as of feb 10), I had the same problem running mongrel; today, mongrel sets cookies where passenger fails.

== the details...

Literally spent hours one day last week trying to debug this, and got nowhere. Watching the cookies get set with the charles proxy, my impression was that the header was malformed -- too many newlines I think -- and the cookie header ended up in the content. Testing now again with edge seems to support that -- I'm actually getting
&quot;Set-Cookie: _myapp_session=BAh7CToPc2Vzc2lv...&quot; displayed in the browser, before the &lt;!DOCTYPE. !

But there are so many moving parts (rails/rack/passenger) I wasn't sure where to look to narrow down the problem. Hopefully you know where to look?  Not sure if I'm doing anything weird -- it's a pretty vanilla resful_auth setup.</body>
      <body-html>&lt;div&gt;&lt;p&gt;On edge rails (238a6bb62dc153743a0abc6eb1e35392ac799d65) and
passenger (2.0.6, osx), I still have problems setting any kind of
cookies. On edge last week (as of feb 10), I had the same problem
running mongrel; today, mongrel sets cookies where passenger
fails.&lt;/p&gt;
&lt;p&gt;== the details...&lt;/p&gt;
&lt;p&gt;Literally spent hours one day last week trying to debug this,
and got nowhere. Watching the cookies get set with the charles
proxy, my impression was that the header was malformed -- too many
newlines I think -- and the cookie header ended up in the content.
Testing now again with edge seems to support that -- I'm actually
getting &quot;Set-Cookie: _myapp_session=BAh7CToPc2Vzc2lv...&quot; displayed
in the browser, before the &amp;lt;!DOCTYPE. !&lt;/p&gt;
&lt;p&gt;But there are so many moving parts (rails/rack/passenger) I
wasn't sure where to look to narrow down the problem. Hopefully you
know where to look? Not sure if I'm doing anything weird -- it's a
pretty vanilla resful_auth setup.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-15T17:03:47+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-15T17:03:54+00:00</updated-at>
      <user-id type="integer">22427</user-id>
      <user-name>David Reese</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I take Tim Pope's and Nolan's comments to heart.  I'm not super fond of the patch, and there is a crapload of duplicated code (almost all of the session cookie store and the abstract session store are duplicated code).

I'll look into searching for all of the places where a cookie may be built into an array, which is the real issue.

Does the http spec allow sending multiple Set-Cookie headers?</body>
      <body-html>&lt;div&gt;&lt;p&gt;I take Tim Pope's and Nolan's comments to heart. I'm not super
fond of the patch, and there is a crapload of duplicated code
(almost all of the session cookie store and the abstract session
store are duplicated code).&lt;/p&gt;
&lt;p&gt;I'll look into searching for all of the places where a cookie
may be built into an array, which is the real issue.&lt;/p&gt;
&lt;p&gt;Does the http spec allow sending multiple Set-Cookie
headers?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-16T01:23:58+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-16T01:24:03+00:00</updated-at>
      <user-id type="integer">10212</user-id>
      <user-name>Scott Taylor</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Confirmed. Working on issue.

The fix should be applied to ActionController::CGIHandler

@@@
$ curl -I localhost:3000/hello
HTTP/1.1 200 OK
Connection: close
Date: Mon, 16 Feb 2009 21:21:35 GMT
X-Runtime: 2
ETag: &quot;bea8252ff4e80f41719ea13cdf007273&quot;
X-Test: 1
Content-Type: text/html; charset=utf-8
Cache-Control: private, max-age=0, must-revalidate
Content-Length: 14

$ curl -I localhost:3000/hello
HTTP/1.1 200 OK
Connection: close
Date: Mon, 16 Feb 2009 21:21:54 GMT
Status: 200
ETag: &quot;bea8252ff4e80f41719ea13cdf007273&quot;
X-Runtime: 5
Cache-Control: private, max-age=0, must-revalidate
X-Test: 1
2
3
Server: Mongrel 1.1.5
Content-Type: text/html; charset=utf-8
Set-Cookie: 
Content-Length: 14
@@@</body>
      <body-html>&lt;div&gt;&lt;p&gt;Confirmed. Working on issue.&lt;/p&gt;
&lt;p&gt;The fix should be applied to ActionController::CGIHandler&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
$ curl -I localhost:3000/hello
HTTP/1.1 200 OK
Connection: close
Date: Mon, 16 Feb 2009 21:21:35 GMT
X-Runtime: 2
ETag: &amp;quot;bea8252ff4e80f41719ea13cdf007273&amp;quot;
X-Test: 1
Content-Type: text/html; charset=utf-8
Cache-Control: private, max-age=0, must-revalidate
Content-Length: 14

$ curl -I localhost:3000/hello
HTTP/1.1 200 OK
Connection: close
Date: Mon, 16 Feb 2009 21:21:54 GMT
Status: 200
ETag: &amp;quot;bea8252ff4e80f41719ea13cdf007273&amp;quot;
X-Runtime: 5
Cache-Control: private, max-age=0, must-revalidate
X-Test: 1
2
3
Server: Mongrel 1.1.5
Content-Type: text/html; charset=utf-8
Set-Cookie: 
Content-Length: 14
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-16T21:23:29+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-16T21:23:34+00:00</updated-at>
      <user-id type="integer">424</user-id>
      <user-name>Joshua Peek</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>(from [b6e56efe07cb3c2e999216f995403aa9206226a2]) Special case in deprecated CGI proxy layer for Mongrel CGI cookies [#1957 state:resolved]
http://github.com/rails/rails/commit/b6e56efe07cb3c2e999216f995403aa9206226a2</body>
      <body-html>&lt;div&gt;&lt;p&gt;(from [b6e56efe07cb3c2e999216f995403aa9206226a2]) Special case
in deprecated CGI proxy layer for Mongrel CGI cookies [&lt;a href=&quot;/projects/8994/tickets/1957&quot; title=&quot;Ticket #1957&quot;&gt;#1957&lt;/a&gt;
state:resolved] &lt;a href=&quot;http://github.com/rails/rails/commit/b6e56efe07cb3c2e999216f995403aa9206226a2&quot;&gt;
http://github.com/rails/rails/co...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-17T04:18:31+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- 
:state: open
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-17T04:18:34+00:00</updated-at>
      <user-id type="integer">17393</user-id>
      <user-name>Repository</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Good job there Josh. Checked out &quot;master&quot; and `mongrel_rails` allowed me to login. Seems to fix my issue. Now I just need a reason to drop Thin. :-)</body>
      <body-html>&lt;div&gt;&lt;p&gt;Good job there Josh. Checked out &quot;master&quot; and
&lt;code&gt;mongrel_rails&lt;/code&gt; allowed me to login. Seems to fix my
issue. Now I just need a reason to drop Thin. :-)&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-17T05:10:01+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-17T05:10:04+00:00</updated-at>
      <user-id type="integer">23021</user-id>
      <user-name>Nolan Eakins</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Didn't fix what I assumed was the same issue -- the session isn't working in Passenger either, which Josh Pencheon and I commented on above.

On edge after that last commit (b6e56), I still get the &quot;Set-Cookie&quot; header showing up in the rendered HTML. Firefox 3, OSX, Passenger.

If I should open a new ticket (&quot;Sessions break in 2.3 with Passenger&quot;), I will, but I don't know much more than I mentioned in my last comment.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Didn't fix what I assumed was the same issue -- the session
isn't working in Passenger either, which Josh Pencheon and I
commented on above.&lt;/p&gt;
&lt;p&gt;On edge after that last commit (b6e56), I still get the
&quot;Set-Cookie&quot; header showing up in the rendered HTML. Firefox 3,
OSX, Passenger.&lt;/p&gt;
&lt;p&gt;If I should open a new ticket (&quot;Sessions break in 2.3 with
Passenger&quot;), I will, but I don't know much more than I mentioned in
my last comment.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-17T05:23:29+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-17T05:23:31+00:00</updated-at>
      <user-id type="integer">22427</user-id>
      <user-name>David Reese</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>@David The latest version version of passenger does not support the new rack 1.9 spec yet. I'll hook up with Hongli and we'll get this in.</body>
      <body-html>&lt;div&gt;&lt;p&gt;@David The latest version version of passenger does not support
the new rack 1.9 spec yet. I'll hook up with Hongli and we'll get
this in.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-17T05:33:33+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-17T05:33:39+00:00</updated-at>
      <user-id type="integer">424</user-id>
      <user-name>Joshua Peek</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Thanks josh, I missed that somehow.

So, all passenger users will have to upgrade (to a future Passenger version) to run 2.3?  We should put that in writing somewhere, right? Just so nobody trying to help test 2.3 wastes any time trying to fix their cookies (like i did).</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks josh, I missed that somehow.&lt;/p&gt;
&lt;p&gt;So, all passenger users will have to upgrade (to a future
Passenger version) to run 2.3? We should put that in writing
somewhere, right? Just so nobody trying to help test 2.3 wastes any
time trying to fix their cookies (like i did).&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-17T05:43:05+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-17T05:43:09+00:00</updated-at>
      <user-id type="integer">22427</user-id>
      <user-name>David Reese</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>David, I'm not sure. It may be possible for them to release a backwards and forward compat version of passenger. We'll see.

Watch the passenger blog for updates:
http://blog.phusion.nl/</body>
      <body-html>&lt;div&gt;&lt;p&gt;David, I'm not sure. It may be possible for them to release a
backwards and forward compat version of passenger. We'll see.&lt;/p&gt;
&lt;p&gt;Watch the passenger blog for updates: &lt;a href=&quot;http://blog.phusion.nl/&quot;&gt;http://blog.phusion.nl/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-17T05:58:28+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-17T05:58:34+00:00</updated-at>
      <user-id type="integer">424</user-id>
      <user-name>Joshua Peek</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>@Joshua -- it's a marketing/documentation thing more than anything -- that nowhere on the blog post about the Rails 2.3 beta, or on the release notes, or the changelog even, does it say anything about the session issue with Passenger. I'm not sure where I file a bug on the release notes?

Let me put it another way -- the 2.3RC1 blog post says, &quot;So please help us do thorough testing of this release candidate. Lots of the underpinnings changed. Especially the move to Rack.&quot;  So how many other people like me are trying it out, trying to be helpful and tracking down bugs, and then getting stuck on the passenger issue?  Like, maybe there should be a &quot;Known issues&quot; list or something.

Just trying to be helpful here, let me know if there's something I'm missing.</body>
      <body-html>&lt;div&gt;&lt;p&gt;@Joshua -- it's a marketing/documentation thing more than
anything -- that nowhere on the blog post about the Rails 2.3 beta,
or on the release notes, or the changelog even, does it say
anything about the session issue with Passenger. I'm not sure where
I file a bug on the release notes?&lt;/p&gt;
&lt;p&gt;Let me put it another way -- the 2.3RC1 blog post says, &quot;So
please help us do thorough testing of this release candidate. Lots
of the underpinnings changed. Especially the move to Rack.&quot; So how
many other people like me are trying it out, trying to be helpful
and tracking down bugs, and then getting stuck on the passenger
issue? Like, maybe there should be a &quot;Known issues&quot; list or
something.&lt;/p&gt;
&lt;p&gt;Just trying to be helpful here, let me know if there's something
I'm missing.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-17T17:44:22+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-17T17:44:24+00:00</updated-at>
      <user-id type="integer">22427</user-id>
      <user-name>David Reese</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>The Phusion guys just fixed the Passenger problem:

http://github.com/FooBarWidget/passenger/commit/87db9ab02c0a7ca98de9de62dfaf0c4094873eed

Just clone the repo and follow the README. Hurrah!</body>
      <body-html>&lt;div&gt;&lt;p&gt;The Phusion guys just fixed the Passenger problem:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://github.com/FooBarWidget/passenger/commit/87db9ab02c0a7ca98de9de62dfaf0c4094873eed&quot;&gt;
http://github.com/FooBarWidget/p...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just clone the repo and follow the README. Hurrah!&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-02-18T19:40:16+00:00</created-at>
      <creator-id type="integer">23021</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">1957</number>
      <permalink>sessions-break-in-23-with-mongrel</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.3 actionpack bug bugs cookiestore patch sessions</tag>
      <title>Sessions break in 2.3 with Mongrel</title>
      <updated-at type="datetime">2009-02-18T19:40:23+00:00</updated-at>
      <user-id type="integer">17104</user-id>
      <user-name>Luigi Montanez</user-name>
      <creator-name>Nolan Eakins</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1957</url>
      <milestone-title nil="true"></milestone-title>
    </version>
  </versions>
  <attachments type="array">
    <attachment type="Attachment">
      <code>a7cfa2225b3747cd8bbc223645fdd796a6649ade</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2009-02-13T04:51:23+00:00</created-at>
      <filename>tmp.diff</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">88450</id>
      <size type="integer">3676</size>
      <uploader-id type="integer">13817</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/88450/tmp.diff</url>
    </attachment>
    <attachment type="Attachment">
      <code>14ef320bade44d56c0c37ed46843335f62cc9fe3</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2009-02-13T04:56:36+00:00</created-at>
      <filename>0001-Set-Cookie-header-should-always-be-a-string-never-a.patch</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">88451</id>
      <size type="integer">4393</size>
      <uploader-id type="integer">13817</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/88451/0001-Set-Cookie-header-should-always-be-a-string-never-a.patch</url>
    </attachment>
  </attachments>
</ticket>
