Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 4 additions and 1 deletion.
  1. +3 −0 CHANGELOG.rdoc
  2. +1 −1 lib/mail/core_extensions/shell_escape.rb
View
3 CHANGELOG.rdoc
@@ -1,5 +1,8 @@
== HEAD
+* Fixes #349 an inverted condition on imap open read_only
+* Remove duplicated line feed from regexp
+
== Version 2.4.4 - Wed Mar 14 22:44:00 +1100 2012 Mikel Lindsaar <mikel@reinteractive.net>
* Fix security vulnerability allowing command line exploit when using file delivery method
View
2 lib/mail/core_extensions/shell_escape.rb
@@ -30,7 +30,7 @@ def escape_for_shell(str)
# Process as a single byte sequence because not all shell
# implementations are multibyte aware.
- str.gsub!(/([^A-Za-z0-9_\s\+\-.,:\/@\n])/n, "\\\\\\1")
+ str.gsub!(/([^A-Za-z0-9_\s\+\-.,:\/@])/n, "\\\\\\1")
# A LF cannot be escaped with a backslash because a backslash + LF
# combo is regarded as line continuation and simply ignored.

No commit comments for this range

Something went wrong with that request. Please try again.