mail 2.7.1.rc1 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mail/body.rb +7 -1
- data/lib/mail/encodings/unix_to_unix.rb +1 -0
- data/lib/mail/multibyte/unicode.rb +10 -10
- data/lib/mail/network/retriever_methods/imap.rb +1 -1
- data/lib/mail/parsers/address_lists_parser.rb +33158 -33129
- data/lib/mail/parsers/content_disposition_parser.rb +861 -867
- data/lib/mail/parsers/content_location_parser.rb +774 -771
- data/lib/mail/parsers/content_transfer_encoding_parser.rb +475 -481
- data/lib/mail/parsers/content_type_parser.rb +986 -989
- data/lib/mail/parsers/date_time_parser.rb +842 -843
- data/lib/mail/parsers/envelope_from_parser.rb +3539 -3532
- data/lib/mail/parsers/message_ids_parser.rb +2812 -2816
- data/lib/mail/parsers/mime_version_parser.rb +466 -468
- data/lib/mail/parsers/phrase_lists_parser.rb +836 -849
- data/lib/mail/parsers/received_parser.rb +8734 -8712
- data/lib/mail/version.rb +1 -1
- metadata +19 -5
@@ -1,10 +1,7 @@
|
|
1
1
|
|
2
2
|
# frozen_string_literal: true
|
3
|
-
require
|
4
|
-
require
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
require "mail/utilities"
|
4
|
+
require "mail/parser_tools"
|
8
5
|
|
9
6
|
module Mail::Parsers
|
10
7
|
module MimeVersionParser
|
@@ -12,298 +9,295 @@ module Mail::Parsers
|
|
12
9
|
|
13
10
|
MimeVersionStruct = Struct.new(:major, :minor, :error)
|
14
11
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
]
|
33
|
-
|
34
|
-
class << self
|
35
|
-
attr_accessor :_key_spans
|
36
|
-
private :_key_spans, :_key_spans=
|
37
|
-
end
|
38
|
-
self._key_spans = [
|
39
|
-
0, 49, 1, 24, 49, 18, 1, 18,
|
40
|
-
10, 1, 24, 244, 244, 1, 24, 245,
|
41
|
-
64, 32, 64, 32, 48, 64, 16, 49,
|
42
|
-
32, 32, 0
|
43
|
-
]
|
44
|
-
|
45
|
-
class << self
|
46
|
-
attr_accessor :_index_offsets
|
47
|
-
private :_index_offsets, :_index_offsets=
|
48
|
-
end
|
49
|
-
self._index_offsets = [
|
50
|
-
0, 0, 50, 52, 77, 127, 146, 148,
|
51
|
-
167, 178, 180, 205, 450, 695, 697, 722,
|
52
|
-
968, 1033, 1066, 1131, 1164, 1213, 1278, 1295,
|
53
|
-
1345, 1378, 1411
|
54
|
-
]
|
12
|
+
class << self
|
13
|
+
attr_accessor :_trans_keys
|
14
|
+
private :_trans_keys, :_trans_keys=
|
15
|
+
end
|
16
|
+
self._trans_keys = [
|
17
|
+
0, 0, 9, 57, 10, 10,
|
18
|
+
9, 32, 9, 57, 40,
|
19
|
+
57, 46, 46, 40, 57,
|
20
|
+
48, 57, 10, 10, 9, 32,
|
21
|
+
1, 244, 1, 244, 10,
|
22
|
+
10, 9, 32, 0, 244,
|
23
|
+
128, 191, 160, 191, 128, 191,
|
24
|
+
128, 159, 144, 191, 128,
|
25
|
+
191, 128, 143, 9, 57,
|
26
|
+
9, 40, 9, 40, 0, 0,
|
27
|
+
0,
|
28
|
+
]
|
55
29
|
|
56
|
-
class << self
|
57
|
-
|
58
|
-
|
59
|
-
end
|
60
|
-
self.
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
4, 4, 4, 4, 4, 4, 4, 4,
|
67
|
-
4, 1, 5, 1, 0, 1, 1, 1,
|
68
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
69
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
70
|
-
1, 1, 1, 0, 1, 6, 1, 1,
|
71
|
-
1, 7, 1, 1, 1, 1, 1, 1,
|
72
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
73
|
-
1, 1, 1, 1, 6, 1, 1, 1,
|
74
|
-
1, 1, 1, 1, 8, 1, 1, 1,
|
75
|
-
1, 1, 1, 1, 9, 9, 9, 9,
|
76
|
-
9, 9, 9, 9, 9, 9, 1, 10,
|
77
|
-
1, 1, 1, 1, 1, 11, 1, 12,
|
78
|
-
12, 12, 12, 12, 12, 12, 12, 12,
|
79
|
-
12, 1, 13, 1, 14, 1, 1, 1,
|
80
|
-
1, 1, 1, 1, 15, 15, 15, 15,
|
81
|
-
15, 15, 15, 15, 15, 15, 1, 16,
|
82
|
-
16, 16, 16, 16, 16, 16, 16, 16,
|
83
|
-
16, 1, 17, 1, 18, 1, 1, 1,
|
84
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
85
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
86
|
-
1, 1, 1, 18, 1, 19, 19, 19,
|
87
|
-
19, 19, 19, 19, 19, 19, 1, 19,
|
88
|
-
19, 20, 19, 19, 19, 19, 19, 19,
|
89
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
90
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
91
|
-
19, 19, 19, 19, 21, 22, 19, 19,
|
92
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
93
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
94
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
95
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
96
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
97
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
98
|
-
23, 19, 19, 19, 19, 19, 19, 19,
|
99
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
100
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
101
|
-
19, 19, 19, 19, 19, 19, 19, 19,
|
102
|
-
19, 19, 19, 19, 1, 1, 1, 1,
|
103
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
104
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
105
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
106
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
107
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
108
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
109
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
110
|
-
1, 1, 1, 1, 1, 1, 24, 24,
|
111
|
-
24, 24, 24, 24, 24, 24, 24, 24,
|
112
|
-
24, 24, 24, 24, 24, 24, 24, 24,
|
113
|
-
24, 24, 24, 24, 24, 24, 24, 24,
|
114
|
-
24, 24, 24, 24, 25, 26, 26, 26,
|
115
|
-
26, 26, 26, 26, 26, 26, 26, 26,
|
116
|
-
26, 27, 26, 26, 28, 29, 29, 29,
|
117
|
-
30, 1, 31, 31, 31, 31, 31, 31,
|
118
|
-
31, 31, 31, 1, 31, 31, 32, 31,
|
119
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
120
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
121
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
122
|
-
31, 33, 34, 31, 31, 31, 31, 31,
|
123
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
124
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
125
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
126
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
127
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
128
|
-
31, 31, 31, 31, 31, 35, 31, 31,
|
129
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
130
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
131
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
132
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
133
|
-
31, 1, 1, 1, 1, 1, 1, 1,
|
134
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
135
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
136
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
137
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
138
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
139
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
140
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
141
|
-
1, 1, 1, 36, 36, 36, 36, 36,
|
142
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
143
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
144
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
145
|
-
36, 37, 38, 38, 38, 38, 38, 38,
|
146
|
-
38, 38, 38, 38, 38, 38, 39, 38,
|
147
|
-
38, 40, 41, 41, 41, 42, 1, 43,
|
148
|
-
1, 31, 1, 1, 1, 1, 1, 1,
|
149
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
150
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
151
|
-
31, 1, 31, 31, 31, 31, 31, 31,
|
152
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
153
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
154
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
155
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
156
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
157
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
158
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
159
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
160
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
161
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
162
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
163
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
164
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
165
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
166
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
167
|
-
31, 31, 1, 1, 1, 1, 1, 1,
|
168
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
169
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
170
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
171
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
172
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
173
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
174
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
175
|
-
1, 1, 1, 1, 36, 36, 36, 36,
|
176
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
177
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
178
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
179
|
-
36, 36, 37, 38, 38, 38, 38, 38,
|
180
|
-
38, 38, 38, 38, 38, 38, 38, 39,
|
181
|
-
38, 38, 40, 41, 41, 41, 42, 1,
|
182
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
183
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
184
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
185
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
186
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
187
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
188
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
189
|
-
31, 31, 31, 31, 31, 31, 31, 31,
|
190
|
-
1, 36, 36, 36, 36, 36, 36, 36,
|
191
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
192
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
193
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
194
|
-
36, 1, 36, 36, 36, 36, 36, 36,
|
195
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
196
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
197
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
198
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
199
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
200
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
201
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
202
|
-
36, 36, 1, 36, 36, 36, 36, 36,
|
203
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
204
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
205
|
-
36, 36, 36, 36, 36, 36, 36, 36,
|
206
|
-
36, 36, 36, 1, 38, 38, 38, 38,
|
207
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
208
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
209
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
210
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
211
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
212
|
-
38, 38, 38, 38, 1, 38, 38, 38,
|
213
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
214
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
215
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
216
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
217
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
218
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
219
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
220
|
-
38, 38, 38, 38, 38, 1, 38, 38,
|
221
|
-
38, 38, 38, 38, 38, 38, 38, 38,
|
222
|
-
38, 38, 38, 38, 38, 38, 1, 44,
|
223
|
-
1, 1, 1, 45, 1, 1, 1, 1,
|
224
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
225
|
-
1, 1, 1, 1, 1, 1, 44, 1,
|
226
|
-
1, 1, 1, 1, 1, 1, 46, 1,
|
227
|
-
1, 1, 1, 1, 1, 1, 47, 47,
|
228
|
-
47, 47, 47, 47, 47, 47, 47, 47,
|
229
|
-
1, 18, 1, 1, 1, 48, 1, 1,
|
230
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
231
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
232
|
-
18, 1, 1, 1, 1, 1, 1, 1,
|
233
|
-
49, 1, 50, 1, 1, 1, 51, 1,
|
234
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
235
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
236
|
-
1, 50, 1, 1, 1, 1, 1, 1,
|
237
|
-
1, 52, 1, 1, 0
|
238
|
-
]
|
30
|
+
class << self
|
31
|
+
attr_accessor :_key_spans
|
32
|
+
private :_key_spans, :_key_spans=
|
33
|
+
end
|
34
|
+
self._key_spans = [
|
35
|
+
0, 49, 1, 24, 49, 18, 1, 18,
|
36
|
+
10, 1, 24, 244, 244, 1, 24, 245,
|
37
|
+
64, 32, 64, 32, 48, 64, 16, 49,
|
38
|
+
32, 32, 0,
|
39
|
+
]
|
239
40
|
|
240
|
-
class << self
|
241
|
-
|
242
|
-
|
243
|
-
end
|
244
|
-
self.
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
20, 21, 22, 14, 24, 9, 25, 23,
|
251
|
-
9, 25, 24, 9, 25
|
252
|
-
]
|
41
|
+
class << self
|
42
|
+
attr_accessor :_index_offsets
|
43
|
+
private :_index_offsets, :_index_offsets=
|
44
|
+
end
|
45
|
+
self._index_offsets = [
|
46
|
+
0, 0, 50, 52, 77, 127, 146, 148,
|
47
|
+
167, 178, 180, 205, 450, 695, 697, 722,
|
48
|
+
968, 1033, 1066, 1131, 1164, 1213, 1278, 1295,
|
49
|
+
1345, 1378, 1411,
|
50
|
+
]
|
253
51
|
|
254
|
-
class << self
|
255
|
-
|
256
|
-
|
257
|
-
end
|
258
|
-
self.
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
52
|
+
class << self
|
53
|
+
attr_accessor :_indicies
|
54
|
+
private :_indicies, :_indicies=
|
55
|
+
end
|
56
|
+
self._indicies = [
|
57
|
+
0, 1, 1, 1, 2, 1, 1, 1,
|
58
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
59
|
+
1, 1, 1, 1, 1, 1, 1, 0,
|
60
|
+
1, 1, 1, 1, 1, 1, 1, 3,
|
61
|
+
1, 1, 1, 1, 1, 1, 1, 4,
|
62
|
+
4, 4, 4, 4, 4, 4, 4, 4,
|
63
|
+
4, 1, 5, 1, 0, 1, 1, 1,
|
64
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
65
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
66
|
+
1, 1, 1, 0, 1, 6, 1, 1,
|
67
|
+
1, 7, 1, 1, 1, 1, 1, 1,
|
68
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
69
|
+
1, 1, 1, 1, 6, 1, 1, 1,
|
70
|
+
1, 1, 1, 1, 8, 1, 1, 1,
|
71
|
+
1, 1, 1, 1, 9, 9, 9, 9,
|
72
|
+
9, 9, 9, 9, 9, 9, 1, 10,
|
73
|
+
1, 1, 1, 1, 1, 11, 1, 12,
|
74
|
+
12, 12, 12, 12, 12, 12, 12, 12,
|
75
|
+
12, 1, 13, 1, 14, 1, 1, 1,
|
76
|
+
1, 1, 1, 1, 15, 15, 15, 15,
|
77
|
+
15, 15, 15, 15, 15, 15, 1, 16,
|
78
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
79
|
+
16, 1, 17, 1, 18, 1, 1, 1,
|
80
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
81
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
82
|
+
1, 1, 1, 18, 1, 19, 19, 19,
|
83
|
+
19, 19, 19, 19, 19, 19, 1, 19,
|
84
|
+
19, 20, 19, 19, 19, 19, 19, 19,
|
85
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
86
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
87
|
+
19, 19, 19, 19, 21, 22, 19, 19,
|
88
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
89
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
90
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
91
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
92
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
93
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
94
|
+
23, 19, 19, 19, 19, 19, 19, 19,
|
95
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
96
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
97
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
98
|
+
19, 19, 19, 19, 1, 1, 1, 1,
|
99
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
100
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
101
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
102
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
103
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
104
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
105
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
106
|
+
1, 1, 1, 1, 1, 1, 24, 24,
|
107
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
108
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
109
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
110
|
+
24, 24, 24, 24, 25, 26, 26, 26,
|
111
|
+
26, 26, 26, 26, 26, 26, 26, 26,
|
112
|
+
26, 27, 26, 26, 28, 29, 29, 29,
|
113
|
+
30, 1, 31, 31, 31, 31, 31, 31,
|
114
|
+
31, 31, 31, 1, 31, 31, 32, 31,
|
115
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
116
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
117
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
118
|
+
31, 33, 34, 31, 31, 31, 31, 31,
|
119
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
120
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
121
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
122
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
123
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
124
|
+
31, 31, 31, 31, 31, 35, 31, 31,
|
125
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
126
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
127
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
128
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
129
|
+
31, 1, 1, 1, 1, 1, 1, 1,
|
130
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
131
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
132
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
133
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
134
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
135
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
136
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
137
|
+
1, 1, 1, 36, 36, 36, 36, 36,
|
138
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
139
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
140
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
141
|
+
36, 37, 38, 38, 38, 38, 38, 38,
|
142
|
+
38, 38, 38, 38, 38, 38, 39, 38,
|
143
|
+
38, 40, 41, 41, 41, 42, 1, 43,
|
144
|
+
1, 31, 1, 1, 1, 1, 1, 1,
|
145
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
146
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
147
|
+
31, 1, 31, 31, 31, 31, 31, 31,
|
148
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
149
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
150
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
151
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
152
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
153
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
154
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
155
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
156
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
157
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
158
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
159
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
160
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
161
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
162
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
163
|
+
31, 31, 1, 1, 1, 1, 1, 1,
|
164
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
165
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
166
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
167
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
168
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
169
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
170
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
171
|
+
1, 1, 1, 1, 36, 36, 36, 36,
|
172
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
173
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
174
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
175
|
+
36, 36, 37, 38, 38, 38, 38, 38,
|
176
|
+
38, 38, 38, 38, 38, 38, 38, 39,
|
177
|
+
38, 38, 40, 41, 41, 41, 42, 1,
|
178
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
179
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
180
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
181
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
182
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
183
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
184
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
185
|
+
31, 31, 31, 31, 31, 31, 31, 31,
|
186
|
+
1, 36, 36, 36, 36, 36, 36, 36,
|
187
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
188
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
189
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
190
|
+
36, 1, 36, 36, 36, 36, 36, 36,
|
191
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
192
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
193
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
194
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
195
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
196
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
197
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
198
|
+
36, 36, 1, 36, 36, 36, 36, 36,
|
199
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
200
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
201
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
202
|
+
36, 36, 36, 1, 38, 38, 38, 38,
|
203
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
204
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
205
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
206
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
207
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
208
|
+
38, 38, 38, 38, 1, 38, 38, 38,
|
209
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
210
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
211
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
212
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
213
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
214
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
215
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
216
|
+
38, 38, 38, 38, 38, 1, 38, 38,
|
217
|
+
38, 38, 38, 38, 38, 38, 38, 38,
|
218
|
+
38, 38, 38, 38, 38, 38, 1, 44,
|
219
|
+
1, 1, 1, 45, 1, 1, 1, 1,
|
220
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
221
|
+
1, 1, 1, 1, 1, 1, 44, 1,
|
222
|
+
1, 1, 1, 1, 1, 1, 46, 1,
|
223
|
+
1, 1, 1, 1, 1, 1, 47, 47,
|
224
|
+
47, 47, 47, 47, 47, 47, 47, 47,
|
225
|
+
1, 18, 1, 1, 1, 48, 1, 1,
|
226
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
227
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
228
|
+
18, 1, 1, 1, 1, 1, 1, 1,
|
229
|
+
49, 1, 50, 1, 1, 1, 51, 1,
|
230
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
231
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
232
|
+
1, 50, 1, 1, 1, 1, 1, 1,
|
233
|
+
1, 52, 1, 1, 0,
|
234
|
+
]
|
267
235
|
|
268
|
-
class << self
|
269
|
-
|
270
|
-
|
271
|
-
end
|
272
|
-
self.
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
236
|
+
class << self
|
237
|
+
attr_accessor :_trans_targs
|
238
|
+
private :_trans_targs, :_trans_targs=
|
239
|
+
end
|
240
|
+
self._trans_targs = [
|
241
|
+
1, 0, 2, 4, 5, 3, 1, 2,
|
242
|
+
4, 5, 6, 7, 5, 7, 8, 23,
|
243
|
+
23, 10, 24, 12, 13, 12, 26, 15,
|
244
|
+
16, 17, 18, 19, 20, 21, 22, 12,
|
245
|
+
13, 12, 26, 15, 16, 17, 18, 19,
|
246
|
+
20, 21, 22, 14, 24, 9, 25, 23,
|
247
|
+
9, 25, 24, 9, 25,
|
248
|
+
]
|
278
249
|
|
279
|
-
class << self
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
250
|
+
class << self
|
251
|
+
attr_accessor :_trans_actions
|
252
|
+
private :_trans_actions, :_trans_actions=
|
253
|
+
end
|
254
|
+
self._trans_actions = [
|
255
|
+
0, 0, 0, 1, 2, 0, 3, 3,
|
256
|
+
4, 5, 6, 7, 0, 3, 1, 8,
|
257
|
+
9, 0, 0, 10, 10, 11, 12, 10,
|
258
|
+
10, 10, 10, 10, 10, 10, 10, 0,
|
259
|
+
0, 1, 13, 0, 0, 0, 0, 0,
|
260
|
+
0, 0, 0, 0, 14, 14, 15, 0,
|
261
|
+
0, 1, 3, 3, 4,
|
262
|
+
]
|
291
263
|
|
292
|
-
class << self
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
264
|
+
class << self
|
265
|
+
attr_accessor :_eof_actions
|
266
|
+
private :_eof_actions, :_eof_actions=
|
267
|
+
end
|
268
|
+
self._eof_actions = [
|
269
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
270
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
271
|
+
0, 0, 0, 0, 0, 0, 0, 14,
|
272
|
+
0, 3, 0,
|
273
|
+
]
|
300
274
|
|
275
|
+
class << self
|
276
|
+
attr_accessor :start
|
277
|
+
end
|
278
|
+
self.start = 1
|
279
|
+
class << self
|
280
|
+
attr_accessor :first_final
|
281
|
+
end
|
282
|
+
self.first_final = 23
|
283
|
+
class << self
|
284
|
+
attr_accessor :error
|
285
|
+
end
|
286
|
+
self.error = 0
|
301
287
|
|
288
|
+
class << self
|
289
|
+
attr_accessor :en_comment_tail
|
290
|
+
end
|
291
|
+
self.en_comment_tail = 11
|
292
|
+
class << self
|
293
|
+
attr_accessor :en_main
|
294
|
+
end
|
295
|
+
self.en_main = 1
|
302
296
|
|
303
297
|
def self.parse(data)
|
304
298
|
data = data.dup.force_encoding(Encoding::ASCII_8BIT) if data.respond_to?(:force_encoding)
|
305
299
|
|
306
|
-
return MimeVersionStruct.new(
|
300
|
+
return MimeVersionStruct.new("", nil) if Mail::Utilities.blank?(data)
|
307
301
|
|
308
302
|
# Parser state
|
309
303
|
mime_version = MimeVersionStruct.new
|
@@ -314,190 +308,194 @@ self.en_main = 1;
|
|
314
308
|
eof = pe = data.length
|
315
309
|
stack = []
|
316
310
|
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
end
|
324
|
-
|
325
|
-
|
326
|
-
begin
|
327
|
-
testEof = false
|
328
|
-
_slen, _trans, _keys, _inds, _acts, _nacts = nil
|
329
|
-
_goto_level = 0
|
330
|
-
_resume = 10
|
331
|
-
_eof_trans = 15
|
332
|
-
_again = 20
|
333
|
-
_test_eof = 30
|
334
|
-
_out = 40
|
335
|
-
while true
|
336
|
-
if _goto_level <= 0
|
337
|
-
if p == pe
|
338
|
-
_goto_level = _test_eof
|
339
|
-
next
|
340
|
-
end
|
341
|
-
if cs == 0
|
342
|
-
_goto_level = _out
|
343
|
-
next
|
344
|
-
end
|
345
|
-
end
|
346
|
-
if _goto_level <= _resume
|
347
|
-
_keys = cs << 1
|
348
|
-
_inds = _index_offsets[cs]
|
349
|
-
_slen = _key_spans[cs]
|
350
|
-
_wide = data[p].ord
|
351
|
-
_trans = if ( _slen > 0 &&
|
352
|
-
_trans_keys[_keys] <= _wide &&
|
353
|
-
_wide <= _trans_keys[_keys + 1]
|
354
|
-
) then
|
355
|
-
_indicies[ _inds + _wide - _trans_keys[_keys] ]
|
356
|
-
else
|
357
|
-
_indicies[ _inds + _slen ]
|
358
|
-
end
|
359
|
-
cs = _trans_targs[_trans]
|
360
|
-
if _trans_actions[_trans] != 0
|
361
|
-
case _trans_actions[_trans]
|
362
|
-
when 2 then
|
363
|
-
begin
|
364
|
-
major_digits_s = p end
|
365
|
-
when 7 then
|
366
|
-
begin
|
367
|
-
mime_version.major = chars(data, major_digits_s, p-1) end
|
368
|
-
when 8 then
|
369
|
-
begin
|
370
|
-
minor_digits_s = p end
|
371
|
-
when 14 then
|
372
|
-
begin
|
373
|
-
mime_version.minor = chars(data, minor_digits_s, p-1) end
|
374
|
-
when 10 then
|
375
|
-
begin
|
376
|
-
end
|
377
|
-
when 3 then
|
378
|
-
begin
|
379
|
-
end
|
380
|
-
when 1 then
|
381
|
-
begin
|
382
|
-
begin
|
383
|
-
stack[top] = cs
|
384
|
-
top+= 1
|
385
|
-
cs = 11
|
386
|
-
_goto_level = _again
|
387
|
-
next
|
388
|
-
end
|
389
|
-
end
|
390
|
-
when 13 then
|
391
|
-
begin
|
392
|
-
begin
|
393
|
-
top -= 1
|
394
|
-
cs = stack[top]
|
395
|
-
_goto_level = _again
|
396
|
-
next
|
397
|
-
end
|
398
|
-
end
|
399
|
-
when 6 then
|
400
|
-
begin
|
401
|
-
mime_version.major = chars(data, major_digits_s, p-1) end
|
402
|
-
begin
|
403
|
-
begin
|
404
|
-
stack[top] = cs
|
405
|
-
top+= 1
|
406
|
-
cs = 11
|
407
|
-
_goto_level = _again
|
408
|
-
next
|
409
|
-
end
|
410
|
-
end
|
411
|
-
when 15 then
|
412
|
-
begin
|
413
|
-
mime_version.minor = chars(data, minor_digits_s, p-1) end
|
414
|
-
begin
|
415
|
-
begin
|
416
|
-
stack[top] = cs
|
417
|
-
top+= 1
|
418
|
-
cs = 11
|
419
|
-
_goto_level = _again
|
420
|
-
next
|
421
|
-
end
|
422
|
-
end
|
423
|
-
when 11 then
|
424
|
-
begin
|
425
|
-
end
|
426
|
-
begin
|
427
|
-
begin
|
428
|
-
stack[top] = cs
|
429
|
-
top+= 1
|
430
|
-
cs = 11
|
431
|
-
_goto_level = _again
|
432
|
-
next
|
433
|
-
end
|
434
|
-
end
|
435
|
-
when 12 then
|
436
|
-
begin
|
437
|
-
end
|
438
|
-
begin
|
439
|
-
begin
|
440
|
-
top -= 1
|
441
|
-
cs = stack[top]
|
442
|
-
_goto_level = _again
|
443
|
-
next
|
444
|
-
end
|
445
|
-
end
|
446
|
-
when 5 then
|
447
|
-
begin
|
448
|
-
end
|
449
|
-
begin
|
450
|
-
major_digits_s = p end
|
451
|
-
when 9 then
|
452
|
-
begin
|
453
|
-
end
|
454
|
-
begin
|
455
|
-
minor_digits_s = p end
|
456
|
-
when 4 then
|
457
|
-
begin
|
458
|
-
end
|
459
|
-
begin
|
460
|
-
begin
|
461
|
-
stack[top] = cs
|
462
|
-
top+= 1
|
463
|
-
cs = 11
|
464
|
-
_goto_level = _again
|
465
|
-
next
|
466
|
-
end
|
467
|
-
end
|
468
|
-
end
|
469
|
-
end
|
470
|
-
end
|
471
|
-
if _goto_level <= _again
|
472
|
-
if cs == 0
|
473
|
-
_goto_level = _out
|
474
|
-
next
|
475
|
-
end
|
476
|
-
p += 1
|
477
|
-
if p != pe
|
478
|
-
_goto_level = _resume
|
479
|
-
next
|
480
|
-
end
|
481
|
-
end
|
482
|
-
if _goto_level <= _test_eof
|
483
|
-
if p == eof
|
484
|
-
case _eof_actions[cs]
|
485
|
-
when 14 then
|
486
|
-
begin
|
487
|
-
mime_version.minor = chars(data, minor_digits_s, p-1) end
|
488
|
-
when 3 then
|
489
|
-
begin
|
490
|
-
end
|
491
|
-
end
|
492
|
-
end
|
493
|
-
|
494
|
-
end
|
495
|
-
if _goto_level <= _out
|
496
|
-
break
|
497
|
-
end
|
498
|
-
end
|
499
|
-
end
|
311
|
+
begin
|
312
|
+
p ||= 0
|
313
|
+
pe ||= data.length
|
314
|
+
cs = start
|
315
|
+
top = 0
|
316
|
+
end
|
500
317
|
|
318
|
+
begin
|
319
|
+
testEof = false
|
320
|
+
_slen, _trans, _keys, _inds, _acts, _nacts = nil
|
321
|
+
_goto_level = 0
|
322
|
+
_resume = 10
|
323
|
+
_eof_trans = 15
|
324
|
+
_again = 20
|
325
|
+
_test_eof = 30
|
326
|
+
_out = 40
|
327
|
+
while true
|
328
|
+
if _goto_level <= 0
|
329
|
+
if p == pe
|
330
|
+
_goto_level = _test_eof
|
331
|
+
next
|
332
|
+
end
|
333
|
+
if cs == 0
|
334
|
+
_goto_level = _out
|
335
|
+
next
|
336
|
+
end
|
337
|
+
end
|
338
|
+
if _goto_level <= _resume
|
339
|
+
_keys = cs << 1
|
340
|
+
_inds = _index_offsets[cs]
|
341
|
+
_slen = _key_spans[cs]
|
342
|
+
_wide = data[p].ord
|
343
|
+
_trans = if (_slen > 0 &&
|
344
|
+
_trans_keys[_keys] <= _wide &&
|
345
|
+
_wide <= _trans_keys[_keys + 1])
|
346
|
+
_indicies[_inds + _wide - _trans_keys[_keys]]
|
347
|
+
else
|
348
|
+
_indicies[_inds + _slen]
|
349
|
+
end
|
350
|
+
cs = _trans_targs[_trans]
|
351
|
+
if _trans_actions[_trans] != 0
|
352
|
+
case _trans_actions[_trans]
|
353
|
+
when 2
|
354
|
+
begin
|
355
|
+
major_digits_s = p
|
356
|
+
end
|
357
|
+
when 7
|
358
|
+
begin
|
359
|
+
mime_version.major = chars(data, major_digits_s, p - 1)
|
360
|
+
end
|
361
|
+
when 8
|
362
|
+
begin
|
363
|
+
minor_digits_s = p
|
364
|
+
end
|
365
|
+
when 14
|
366
|
+
begin
|
367
|
+
mime_version.minor = chars(data, minor_digits_s, p - 1)
|
368
|
+
end
|
369
|
+
when 10
|
370
|
+
begin
|
371
|
+
end
|
372
|
+
when 3
|
373
|
+
begin
|
374
|
+
end
|
375
|
+
when 1
|
376
|
+
begin
|
377
|
+
begin
|
378
|
+
stack[top] = cs
|
379
|
+
top += 1
|
380
|
+
cs = 11
|
381
|
+
_goto_level = _again
|
382
|
+
next
|
383
|
+
end
|
384
|
+
end
|
385
|
+
when 13
|
386
|
+
begin
|
387
|
+
begin
|
388
|
+
top -= 1
|
389
|
+
cs = stack[top]
|
390
|
+
_goto_level = _again
|
391
|
+
next
|
392
|
+
end
|
393
|
+
end
|
394
|
+
when 6
|
395
|
+
begin
|
396
|
+
mime_version.major = chars(data, major_digits_s, p - 1)
|
397
|
+
end
|
398
|
+
begin
|
399
|
+
begin
|
400
|
+
stack[top] = cs
|
401
|
+
top += 1
|
402
|
+
cs = 11
|
403
|
+
_goto_level = _again
|
404
|
+
next
|
405
|
+
end
|
406
|
+
end
|
407
|
+
when 15
|
408
|
+
begin
|
409
|
+
mime_version.minor = chars(data, minor_digits_s, p - 1)
|
410
|
+
end
|
411
|
+
begin
|
412
|
+
begin
|
413
|
+
stack[top] = cs
|
414
|
+
top += 1
|
415
|
+
cs = 11
|
416
|
+
_goto_level = _again
|
417
|
+
next
|
418
|
+
end
|
419
|
+
end
|
420
|
+
when 11
|
421
|
+
begin
|
422
|
+
end
|
423
|
+
begin
|
424
|
+
begin
|
425
|
+
stack[top] = cs
|
426
|
+
top += 1
|
427
|
+
cs = 11
|
428
|
+
_goto_level = _again
|
429
|
+
next
|
430
|
+
end
|
431
|
+
end
|
432
|
+
when 12
|
433
|
+
begin
|
434
|
+
end
|
435
|
+
begin
|
436
|
+
begin
|
437
|
+
top -= 1
|
438
|
+
cs = stack[top]
|
439
|
+
_goto_level = _again
|
440
|
+
next
|
441
|
+
end
|
442
|
+
end
|
443
|
+
when 5
|
444
|
+
begin
|
445
|
+
end
|
446
|
+
begin
|
447
|
+
major_digits_s = p
|
448
|
+
end
|
449
|
+
when 9
|
450
|
+
begin
|
451
|
+
end
|
452
|
+
begin
|
453
|
+
minor_digits_s = p
|
454
|
+
end
|
455
|
+
when 4
|
456
|
+
begin
|
457
|
+
end
|
458
|
+
begin
|
459
|
+
begin
|
460
|
+
stack[top] = cs
|
461
|
+
top += 1
|
462
|
+
cs = 11
|
463
|
+
_goto_level = _again
|
464
|
+
next
|
465
|
+
end
|
466
|
+
end
|
467
|
+
end
|
468
|
+
end
|
469
|
+
end
|
470
|
+
if _goto_level <= _again
|
471
|
+
if cs == 0
|
472
|
+
_goto_level = _out
|
473
|
+
next
|
474
|
+
end
|
475
|
+
p += 1
|
476
|
+
if p != pe
|
477
|
+
_goto_level = _resume
|
478
|
+
next
|
479
|
+
end
|
480
|
+
end
|
481
|
+
if _goto_level <= _test_eof
|
482
|
+
if p == eof
|
483
|
+
case _eof_actions[cs]
|
484
|
+
when 14
|
485
|
+
begin
|
486
|
+
mime_version.minor = chars(data, minor_digits_s, p - 1)
|
487
|
+
end
|
488
|
+
when 3
|
489
|
+
begin
|
490
|
+
end
|
491
|
+
end
|
492
|
+
end
|
493
|
+
end
|
494
|
+
if _goto_level <= _out
|
495
|
+
break
|
496
|
+
end
|
497
|
+
end
|
498
|
+
end
|
501
499
|
|
502
500
|
if p != eof || cs < 23
|
503
501
|
raise Mail::Field::IncompleteParseError.new(Mail::MimeVersionElement, data, p)
|