[DRE-commits] r4460 - trunk/redmine/debian/patches

Jérémy Lal kapouer-guest at alioth.debian.org
Sun Dec 13 00:11:09 UTC 2009


Author: kapouer-guest
Date: 2009-12-13 00:11:07 +0000 (Sun, 13 Dec 2009)
New Revision: 4460

Modified:
   trunk/redmine/debian/patches/02_session_path.patch
Log:
Could be nil, so use simpler test.

Modified: trunk/redmine/debian/patches/02_session_path.patch
===================================================================
--- trunk/redmine/debian/patches/02_session_path.patch	2009-12-13 00:10:58 UTC (rev 4459)
+++ trunk/redmine/debian/patches/02_session_path.patch	2009-12-13 00:11:07 UTC (rev 4460)
@@ -8,7 +8,7 @@
  # you'll be exposed to dictionary attacks.
  ActionController::Base.session = {
    :session_key => '_redmine_session',
-+  :session_path => ENV['RAILS_RELATIVE_URL_ROOT'].empty? ? '/' : ENV['RAILS_RELATIVE_URL_ROOT'],
++  :session_path => ENV['RAILS_RELATIVE_URL_ROOT'] ? ENV['RAILS_RELATIVE_URL_ROOT'] : '/',
    :secret => '#{secret}'
  }
  EOF




More information about the Pkg-ruby-extras-commits mailing list