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

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


Author: kapouer-guest
Date: 2009-12-13 00:08:04 +0000 (Sun, 13 Dec 2009)
New Revision: 4455

Modified:
   trunk/redmine/debian/patches/02_session_path.patch
Log:
Fix the patch to define a session path, thanks Tam?\195?\161s Imrei

Modified: trunk/redmine/debian/patches/02_session_path.patch
===================================================================
--- trunk/redmine/debian/patches/02_session_path.patch	2009-12-13 00:07:51 UTC (rev 4454)
+++ trunk/redmine/debian/patches/02_session_path.patch	2009-12-13 00:08:04 UTC (rev 4455)
@@ -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'],
++  :session_path => ENV['RAILS_RELATIVE_URL_ROOT'].empty? ? '/' : ENV['RAILS_RELATIVE_URL_ROOT'],
    :secret => '#{secret}'
  }
  EOF




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