[DRE-commits] [SCM] redmine.git branch, master-experimental, updated. debian/1.4.4+dfsg1-1-5-g7f1f228
Jérémy Lal
kapouer at melix.org
Thu Oct 11 10:25:05 UTC 2012
The following commit has been merged in the master-experimental branch:
commit 0f566252d874992f576fe24062a42d33bdd6e4aa
Author: Jérémy Lal <kapouer at melix.org>
Date: Wed Aug 24 21:54:25 2011 +0200
Patch to fix cookies.delete "symbol is not a string" issue. (#637486)
diff --git a/debian/patches/1013_logout_cookie_rake.patch b/debian/patches/1013_logout_cookie_rake.patch
new file mode 100644
index 0000000..a118c84
--- /dev/null
+++ b/debian/patches/1013_logout_cookie_rake.patch
@@ -0,0 +1,15 @@
+Description: Cookie values need to be strings in some rails/rake versions.
+Bug-Redmine: http://www.redmine.org/issues/9118
+Author: Eduardo Rocha <folhabranca at gmail.com>
+Last-Update: 2011-08-14
+--- a/app/controllers/account_controller.rb.orig 2011-08-24 11:41:33.000000000 -0300
++++ b/app/controllers/account_controller.rb 2011-08-24 09:21:00.000000000 -0300
+@@ -129,7 +129,7 @@
+
+ def logout_user
+ if User.current.logged?
+- cookies.delete :autologin
++ cookies.delete :autologin.to_s
+ Token.delete_all(["user_id = ? AND action = ?", User.current.id, 'autologin'])
+ self.logged_user = nil
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 63a0937..96f07af 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
2008_force_table_encoding_mysql.patch
2009_FHS_thin_config.patch
2010_use_i18n_0.4.1.patch
+1013_logout_cookie_rake.patch
--
redmine.git
More information about the Pkg-ruby-extras-commits
mailing list