tmail_es 1.2.7.2 → 1.2.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tmail/utils.rb +4 -4
- data/lib/tmail/vendor/rchardet-1.3/lib/rchardet/universaldetector.rb +1 -1
- data/tmail_es.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abe2c8391196aa00402d2d4e7d13c9788aa9d561
|
4
|
+
data.tar.gz: 910dbcb600f769375c7a90cd00961d20f7f1fe44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 959d459378e836ca430a5d60055af495946c15e74785f79ab18f05070d1e199cce97d75ced3cc30522697444ab270c707b6a82f520cef544920ed3c5d46cdf6f
|
7
|
+
data.tar.gz: f0d0a820926bc6286586cc3b805f7a52bc20de9b0937bd398224eac8023fe6ab79ce2e1d0cb5331dcf97f70ff010ac7e193ae3d65934e8103a33840646277cfd
|
data/lib/tmail/utils.rb
CHANGED
@@ -114,10 +114,10 @@ module TMail
|
|
114
114
|
lwsp = %Q| \t\r\n|
|
115
115
|
control = %Q|\x00-\x1f\x7f-\xff|
|
116
116
|
|
117
|
-
CONTROL_CHAR = /[
|
118
|
-
ATOM_UNSAFE = /[
|
119
|
-
PHRASE_UNSAFE = /[
|
120
|
-
TOKEN_UNSAFE = /[
|
117
|
+
CONTROL_CHAR = /[#\{control\}]/n
|
118
|
+
ATOM_UNSAFE = /[#\{Regexp.quote aspecial\}#\{control\}#\{lwsp\}]/n
|
119
|
+
PHRASE_UNSAFE = /[#\{Regexp.quote aspecial\}#\{control\}]/n
|
120
|
+
TOKEN_UNSAFE = /[#\{Regexp.quote tspecial\}#\{control\}#\{lwsp\}]/n
|
121
121
|
|
122
122
|
# Returns true if the string supplied is free from characters not allowed as an ATOM
|
123
123
|
def atom_safe?( str )
|
data/tmail_es.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "tmail_es"
|
5
|
-
s.version = "1.2.7.
|
5
|
+
s.version = "1.2.7.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Mikel Lindsaar <raasdnil AT gmail.com>"]
|