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 ContentDispositionParser
|
@@ -12,562 +9,559 @@ module Mail::Parsers
|
|
12
9
|
|
13
10
|
ContentDispositionStruct = Struct.new(:disposition_type, :parameters, :error)
|
14
11
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
self.error = 0;
|
555
|
-
|
556
|
-
class << self
|
557
|
-
attr_accessor :en_comment_tail
|
558
|
-
end
|
559
|
-
self.en_comment_tail = 28;
|
560
|
-
class << self
|
561
|
-
attr_accessor :en_main
|
562
|
-
end
|
563
|
-
self.en_main = 1;
|
564
|
-
|
12
|
+
class << self
|
13
|
+
attr_accessor :_trans_keys
|
14
|
+
private :_trans_keys, :_trans_keys=
|
15
|
+
end
|
16
|
+
self._trans_keys = [
|
17
|
+
0, 0, 33, 126, 9, 126,
|
18
|
+
10, 10, 9, 32, 33,
|
19
|
+
126, 9, 126, 9, 40,
|
20
|
+
10, 10, 9, 32, 1, 244,
|
21
|
+
1, 244, 10, 10, 9,
|
22
|
+
32, 10, 10, 9, 32,
|
23
|
+
0, 244, 128, 191, 160, 191,
|
24
|
+
128, 191, 128, 159, 144,
|
25
|
+
191, 128, 191, 128, 143,
|
26
|
+
9, 40, 10, 10, 9, 32,
|
27
|
+
9, 126, 1, 244, 1,
|
28
|
+
244, 10, 10, 9, 32,
|
29
|
+
0, 244, 128, 191, 160, 191,
|
30
|
+
128, 191, 128, 159, 144,
|
31
|
+
191, 128, 191, 128, 143,
|
32
|
+
33, 126, 9, 59, 9, 59,
|
33
|
+
9, 126, 9, 59, 9,
|
34
|
+
59, 0, 0, 0,
|
35
|
+
]
|
36
|
+
|
37
|
+
class << self
|
38
|
+
attr_accessor :_key_spans
|
39
|
+
private :_key_spans, :_key_spans=
|
40
|
+
end
|
41
|
+
self._key_spans = [
|
42
|
+
0, 94, 118, 1, 24, 94, 118, 32,
|
43
|
+
1, 24, 244, 244, 1, 24, 1, 24,
|
44
|
+
245, 64, 32, 64, 32, 48, 64, 16,
|
45
|
+
32, 1, 24, 118, 244, 244, 1, 24,
|
46
|
+
245, 64, 32, 64, 32, 48, 64, 16,
|
47
|
+
94, 51, 51, 118, 51, 51, 0,
|
48
|
+
]
|
49
|
+
|
50
|
+
class << self
|
51
|
+
attr_accessor :_index_offsets
|
52
|
+
private :_index_offsets, :_index_offsets=
|
53
|
+
end
|
54
|
+
self._index_offsets = [
|
55
|
+
0, 0, 95, 214, 216, 241, 336, 455,
|
56
|
+
488, 490, 515, 760, 1005, 1007, 1032, 1034,
|
57
|
+
1059, 1305, 1370, 1403, 1468, 1501, 1550, 1615,
|
58
|
+
1632, 1665, 1667, 1692, 1811, 2056, 2301, 2303,
|
59
|
+
2328, 2574, 2639, 2672, 2737, 2770, 2819, 2884,
|
60
|
+
2901, 2996, 3048, 3100, 3219, 3271, 3323,
|
61
|
+
]
|
62
|
+
|
63
|
+
class << self
|
64
|
+
attr_accessor :_indicies
|
65
|
+
private :_indicies, :_indicies=
|
66
|
+
end
|
67
|
+
self._indicies = [
|
68
|
+
0, 0, 0, 0, 0, 0, 0, 1,
|
69
|
+
1, 0, 0, 0, 0, 0, 1, 0,
|
70
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
71
|
+
0, 1, 1, 1, 1, 1, 1, 1,
|
72
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
73
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
74
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
75
|
+
0, 0, 1, 1, 1, 0, 0, 0,
|
76
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
77
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
78
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
79
|
+
0, 0, 0, 0, 0, 0, 1, 2,
|
80
|
+
1, 1, 1, 3, 1, 1, 1, 1,
|
81
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
82
|
+
1, 1, 1, 1, 1, 1, 2, 4,
|
83
|
+
4, 4, 4, 4, 4, 4, 5, 1,
|
84
|
+
4, 4, 4, 4, 4, 1, 4, 4,
|
85
|
+
4, 4, 4, 4, 4, 4, 4, 4,
|
86
|
+
1, 1, 1, 1, 1, 1, 1, 4,
|
87
|
+
4, 4, 4, 4, 4, 4, 4, 4,
|
88
|
+
4, 4, 4, 4, 4, 4, 4, 4,
|
89
|
+
4, 4, 4, 4, 4, 4, 4, 4,
|
90
|
+
4, 1, 1, 1, 4, 4, 4, 4,
|
91
|
+
4, 4, 4, 4, 4, 4, 4, 4,
|
92
|
+
4, 4, 4, 4, 4, 4, 4, 4,
|
93
|
+
4, 4, 4, 4, 4, 4, 4, 4,
|
94
|
+
4, 4, 4, 4, 4, 1, 6, 1,
|
95
|
+
2, 1, 1, 1, 1, 1, 1, 1,
|
96
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
97
|
+
1, 1, 1, 1, 1, 1, 1, 2,
|
98
|
+
1, 7, 7, 7, 7, 7, 7, 7,
|
99
|
+
1, 1, 7, 7, 7, 7, 7, 1,
|
100
|
+
7, 7, 7, 7, 7, 7, 7, 7,
|
101
|
+
7, 7, 1, 1, 1, 8, 1, 1,
|
102
|
+
1, 7, 7, 7, 7, 7, 7, 7,
|
103
|
+
7, 7, 7, 7, 7, 7, 7, 7,
|
104
|
+
7, 7, 7, 7, 7, 7, 7, 7,
|
105
|
+
7, 7, 7, 1, 1, 1, 7, 7,
|
106
|
+
7, 7, 7, 7, 7, 7, 7, 7,
|
107
|
+
7, 7, 7, 7, 7, 7, 7, 7,
|
108
|
+
7, 7, 7, 7, 7, 7, 7, 7,
|
109
|
+
7, 7, 7, 7, 7, 7, 7, 1,
|
110
|
+
9, 1, 1, 1, 10, 1, 1, 1,
|
111
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
112
|
+
1, 1, 1, 1, 1, 1, 1, 9,
|
113
|
+
11, 12, 11, 11, 11, 11, 11, 13,
|
114
|
+
1, 11, 11, 11, 11, 11, 1, 11,
|
115
|
+
11, 11, 11, 11, 11, 11, 11, 11,
|
116
|
+
11, 1, 1, 1, 11, 1, 1, 1,
|
117
|
+
11, 11, 11, 11, 11, 11, 11, 11,
|
118
|
+
11, 11, 11, 11, 11, 11, 11, 11,
|
119
|
+
11, 11, 11, 11, 11, 11, 11, 11,
|
120
|
+
11, 11, 1, 1, 1, 11, 11, 11,
|
121
|
+
11, 11, 11, 11, 11, 11, 11, 11,
|
122
|
+
11, 11, 11, 11, 11, 11, 11, 11,
|
123
|
+
11, 11, 11, 11, 11, 11, 11, 11,
|
124
|
+
11, 11, 11, 11, 11, 11, 1, 14,
|
125
|
+
1, 1, 1, 15, 1, 1, 1, 1,
|
126
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
127
|
+
1, 1, 1, 1, 1, 1, 14, 1,
|
128
|
+
16, 1, 1, 1, 1, 1, 17, 1,
|
129
|
+
18, 1, 14, 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, 14, 1, 19, 19, 19, 19, 19,
|
133
|
+
19, 19, 19, 19, 1, 19, 19, 20,
|
134
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
135
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
136
|
+
19, 19, 19, 19, 21, 19, 19, 19,
|
137
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
138
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
139
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
140
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
141
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
142
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
143
|
+
19, 19, 19, 19, 19, 19, 22, 19,
|
144
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
145
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
146
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
147
|
+
19, 19, 19, 19, 19, 19, 19, 19,
|
148
|
+
19, 19, 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
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
152
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
153
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
154
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
155
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
156
|
+
1, 1, 1, 1, 23, 23, 23, 23,
|
157
|
+
23, 23, 23, 23, 23, 23, 23, 23,
|
158
|
+
23, 23, 23, 23, 23, 23, 23, 23,
|
159
|
+
23, 23, 23, 23, 23, 23, 23, 23,
|
160
|
+
23, 23, 24, 25, 25, 25, 25, 25,
|
161
|
+
25, 25, 25, 25, 25, 25, 25, 26,
|
162
|
+
25, 25, 27, 28, 28, 28, 29, 1,
|
163
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
164
|
+
30, 1, 30, 30, 31, 30, 30, 30,
|
165
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
166
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
167
|
+
30, 32, 30, 30, 30, 30, 30, 30,
|
168
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
169
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
170
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
171
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
172
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
173
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
174
|
+
30, 30, 30, 33, 30, 30, 30, 30,
|
175
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
176
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
177
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
178
|
+
30, 30, 30, 30, 30, 30, 30, 1,
|
179
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
180
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
181
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
182
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
183
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
184
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
185
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
186
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
187
|
+
1, 34, 34, 34, 34, 34, 34, 34,
|
188
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
189
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
190
|
+
34, 34, 34, 34, 34, 34, 34, 35,
|
191
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
192
|
+
36, 36, 36, 36, 37, 36, 36, 38,
|
193
|
+
39, 39, 39, 40, 1, 41, 1, 30,
|
194
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
195
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
196
|
+
1, 1, 1, 1, 1, 1, 30, 1,
|
197
|
+
42, 1, 43, 1, 1, 1, 1, 1,
|
198
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
199
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
200
|
+
1, 43, 1, 30, 30, 30, 30, 30,
|
201
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
202
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
203
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
204
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
205
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
206
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
207
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
208
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
209
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
210
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
211
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
212
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
213
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
214
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
215
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
216
|
+
30, 30, 30, 1, 1, 1, 1, 1,
|
217
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
218
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
219
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
220
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
221
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
222
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
223
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
224
|
+
1, 1, 1, 1, 1, 34, 34, 34,
|
225
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
226
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
227
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
228
|
+
34, 34, 34, 35, 36, 36, 36, 36,
|
229
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
230
|
+
37, 36, 36, 38, 39, 39, 39, 40,
|
231
|
+
1, 30, 30, 30, 30, 30, 30, 30,
|
232
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
233
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
234
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
235
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
236
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
237
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
238
|
+
30, 30, 30, 30, 30, 30, 30, 30,
|
239
|
+
30, 1, 34, 34, 34, 34, 34, 34,
|
240
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
241
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
242
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
243
|
+
34, 34, 1, 34, 34, 34, 34, 34,
|
244
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
245
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
246
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
247
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
248
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
249
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
250
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
251
|
+
34, 34, 34, 1, 34, 34, 34, 34,
|
252
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
253
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
254
|
+
34, 34, 34, 34, 34, 34, 34, 34,
|
255
|
+
34, 34, 34, 34, 1, 36, 36, 36,
|
256
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
257
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
258
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
259
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
260
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
261
|
+
36, 36, 36, 36, 36, 1, 36, 36,
|
262
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
263
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
264
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
265
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
266
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
267
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
268
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
269
|
+
36, 36, 36, 36, 36, 36, 1, 36,
|
270
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
271
|
+
36, 36, 36, 36, 36, 36, 36, 1,
|
272
|
+
44, 1, 1, 1, 45, 1, 1, 1,
|
273
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
274
|
+
1, 1, 1, 1, 1, 1, 1, 44,
|
275
|
+
1, 46, 1, 1, 1, 1, 1, 47,
|
276
|
+
1, 48, 1, 49, 1, 1, 1, 1,
|
277
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
278
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
279
|
+
1, 1, 49, 1, 50, 1, 1, 1,
|
280
|
+
51, 1, 1, 1, 1, 1, 1, 1,
|
281
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
282
|
+
1, 1, 1, 50, 52, 52, 52, 52,
|
283
|
+
52, 52, 52, 53, 1, 52, 52, 52,
|
284
|
+
52, 52, 1, 52, 52, 52, 52, 52,
|
285
|
+
52, 52, 52, 52, 52, 1, 1, 1,
|
286
|
+
1, 1, 1, 1, 52, 52, 52, 52,
|
287
|
+
52, 52, 52, 52, 52, 52, 52, 52,
|
288
|
+
52, 52, 52, 52, 52, 52, 52, 52,
|
289
|
+
52, 52, 52, 52, 52, 52, 1, 1,
|
290
|
+
1, 52, 52, 52, 52, 52, 52, 52,
|
291
|
+
52, 52, 52, 52, 52, 52, 52, 52,
|
292
|
+
52, 52, 52, 52, 52, 52, 52, 52,
|
293
|
+
52, 52, 52, 52, 52, 52, 52, 52,
|
294
|
+
52, 52, 1, 54, 54, 54, 54, 54,
|
295
|
+
54, 54, 54, 54, 1, 54, 54, 55,
|
296
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
297
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
298
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
299
|
+
54, 54, 56, 57, 54, 54, 54, 54,
|
300
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
301
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
302
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
303
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
304
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
305
|
+
54, 54, 54, 54, 54, 54, 58, 54,
|
306
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
307
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
308
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
309
|
+
54, 54, 54, 54, 54, 54, 54, 54,
|
310
|
+
54, 54, 1, 1, 1, 1, 1, 1,
|
311
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
312
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
313
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
314
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
315
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
316
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
317
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
318
|
+
1, 1, 1, 1, 59, 59, 59, 59,
|
319
|
+
59, 59, 59, 59, 59, 59, 59, 59,
|
320
|
+
59, 59, 59, 59, 59, 59, 59, 59,
|
321
|
+
59, 59, 59, 59, 59, 59, 59, 59,
|
322
|
+
59, 59, 60, 61, 61, 61, 61, 61,
|
323
|
+
61, 61, 61, 61, 61, 61, 61, 62,
|
324
|
+
61, 61, 63, 64, 64, 64, 65, 1,
|
325
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
326
|
+
66, 1, 66, 66, 67, 66, 66, 66,
|
327
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
328
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
329
|
+
66, 66, 66, 66, 66, 66, 66, 68,
|
330
|
+
69, 66, 66, 66, 66, 66, 66, 66,
|
331
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
332
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
333
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
334
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
335
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
336
|
+
66, 66, 66, 70, 66, 66, 66, 66,
|
337
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
338
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
339
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
340
|
+
66, 66, 66, 66, 66, 66, 66, 1,
|
341
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
342
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
343
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
344
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
345
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
346
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
347
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
348
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
349
|
+
1, 71, 71, 71, 71, 71, 71, 71,
|
350
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
351
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
352
|
+
71, 71, 71, 71, 71, 71, 71, 72,
|
353
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
354
|
+
73, 73, 73, 73, 74, 73, 73, 75,
|
355
|
+
76, 76, 76, 77, 1, 78, 1, 66,
|
356
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
357
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
358
|
+
1, 1, 1, 1, 1, 1, 66, 1,
|
359
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
360
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
361
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
362
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
363
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
364
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
365
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
366
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
367
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
368
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
369
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
370
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
371
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
372
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
373
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
374
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
375
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
376
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
377
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
378
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
379
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
380
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
381
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
382
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
383
|
+
1, 1, 71, 71, 71, 71, 71, 71,
|
384
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
385
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
386
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
387
|
+
72, 73, 73, 73, 73, 73, 73, 73,
|
388
|
+
73, 73, 73, 73, 73, 74, 73, 73,
|
389
|
+
75, 76, 76, 76, 77, 1, 66, 66,
|
390
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
391
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
392
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
393
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
394
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
395
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
396
|
+
66, 66, 66, 66, 66, 66, 66, 66,
|
397
|
+
66, 66, 66, 66, 66, 66, 1, 71,
|
398
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
399
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
400
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
401
|
+
71, 71, 71, 71, 71, 71, 71, 1,
|
402
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
403
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
404
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
405
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
406
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
407
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
408
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
409
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
410
|
+
1, 71, 71, 71, 71, 71, 71, 71,
|
411
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
412
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
413
|
+
71, 71, 71, 71, 71, 71, 71, 71,
|
414
|
+
71, 1, 73, 73, 73, 73, 73, 73,
|
415
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
416
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
417
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
418
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
419
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
420
|
+
73, 73, 1, 73, 73, 73, 73, 73,
|
421
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
422
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
423
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
424
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
425
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
426
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
427
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
428
|
+
73, 73, 73, 1, 73, 73, 73, 73,
|
429
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
430
|
+
73, 73, 73, 73, 1, 79, 79, 79,
|
431
|
+
79, 79, 79, 79, 1, 1, 79, 79,
|
432
|
+
79, 79, 79, 1, 79, 79, 79, 79,
|
433
|
+
79, 79, 79, 79, 79, 79, 1, 80,
|
434
|
+
1, 1, 1, 1, 1, 79, 79, 79,
|
435
|
+
79, 79, 79, 79, 79, 79, 79, 79,
|
436
|
+
79, 79, 79, 79, 79, 79, 79, 79,
|
437
|
+
79, 79, 79, 79, 79, 79, 79, 1,
|
438
|
+
1, 1, 79, 79, 79, 79, 79, 79,
|
439
|
+
79, 79, 79, 79, 79, 79, 79, 79,
|
440
|
+
79, 79, 79, 79, 79, 79, 79, 79,
|
441
|
+
79, 79, 79, 79, 79, 79, 79, 79,
|
442
|
+
79, 79, 79, 1, 81, 1, 1, 1,
|
443
|
+
82, 1, 1, 1, 1, 1, 1, 1,
|
444
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
445
|
+
1, 1, 1, 81, 1, 1, 1, 1,
|
446
|
+
1, 1, 1, 83, 1, 1, 1, 1,
|
447
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
448
|
+
1, 1, 1, 1, 1, 1, 84, 1,
|
449
|
+
85, 1, 1, 1, 86, 1, 1, 1,
|
450
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
451
|
+
1, 1, 1, 1, 1, 1, 1, 85,
|
452
|
+
1, 1, 1, 1, 1, 1, 1, 87,
|
453
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
454
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
455
|
+
1, 1, 88, 1, 89, 1, 1, 1,
|
456
|
+
90, 1, 1, 1, 1, 1, 1, 1,
|
457
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
458
|
+
1, 1, 1, 89, 91, 1, 91, 91,
|
459
|
+
91, 91, 91, 92, 1, 91, 91, 91,
|
460
|
+
91, 91, 1, 91, 91, 91, 91, 91,
|
461
|
+
91, 91, 91, 91, 91, 1, 84, 1,
|
462
|
+
91, 1, 1, 1, 91, 91, 91, 91,
|
463
|
+
91, 91, 91, 91, 91, 91, 91, 91,
|
464
|
+
91, 91, 91, 91, 91, 91, 91, 91,
|
465
|
+
91, 91, 91, 91, 91, 91, 1, 1,
|
466
|
+
1, 91, 91, 91, 91, 91, 91, 91,
|
467
|
+
91, 91, 91, 91, 91, 91, 91, 91,
|
468
|
+
91, 91, 91, 91, 91, 91, 91, 91,
|
469
|
+
91, 91, 91, 91, 91, 91, 91, 91,
|
470
|
+
91, 91, 1, 49, 1, 1, 1, 93,
|
471
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
472
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
473
|
+
1, 1, 49, 1, 1, 1, 1, 1,
|
474
|
+
1, 1, 94, 1, 1, 1, 1, 1,
|
475
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
476
|
+
1, 1, 1, 1, 1, 2, 1, 95,
|
477
|
+
1, 1, 1, 96, 1, 1, 1, 1,
|
478
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
479
|
+
1, 1, 1, 1, 1, 1, 95, 1,
|
480
|
+
1, 1, 1, 1, 1, 1, 97, 1,
|
481
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
482
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
483
|
+
1, 50, 1, 1, 0,
|
484
|
+
]
|
485
|
+
|
486
|
+
class << self
|
487
|
+
attr_accessor :_trans_targs
|
488
|
+
private :_trans_targs, :_trans_targs=
|
489
|
+
end
|
490
|
+
self._trans_targs = [
|
491
|
+
40, 0, 2, 3, 5, 27, 4, 5,
|
492
|
+
6, 7, 8, 43, 10, 24, 7, 8,
|
493
|
+
10, 24, 9, 11, 12, 41, 16, 17,
|
494
|
+
18, 19, 20, 21, 22, 23, 11, 12,
|
495
|
+
41, 16, 17, 18, 19, 20, 21, 22,
|
496
|
+
23, 13, 15, 41, 7, 8, 10, 24,
|
497
|
+
26, 44, 2, 3, 5, 27, 29, 30,
|
498
|
+
29, 46, 32, 33, 34, 35, 36, 37,
|
499
|
+
38, 39, 29, 30, 29, 46, 32, 33,
|
500
|
+
34, 35, 36, 37, 38, 39, 31, 40,
|
501
|
+
2, 41, 14, 42, 2, 41, 14, 42,
|
502
|
+
2, 44, 25, 43, 45, 25, 45, 44,
|
503
|
+
25, 45,
|
504
|
+
]
|
505
|
+
|
506
|
+
class << self
|
507
|
+
attr_accessor :_trans_actions
|
508
|
+
private :_trans_actions, :_trans_actions=
|
509
|
+
end
|
510
|
+
self._trans_actions = [
|
511
|
+
1, 0, 0, 0, 2, 3, 0, 0,
|
512
|
+
4, 5, 5, 5, 5, 6, 0, 0,
|
513
|
+
0, 3, 0, 7, 7, 8, 7, 7,
|
514
|
+
7, 7, 7, 7, 7, 7, 0, 0,
|
515
|
+
9, 0, 0, 0, 0, 0, 0, 0,
|
516
|
+
0, 0, 0, 0, 10, 10, 10, 11,
|
517
|
+
0, 0, 10, 10, 12, 11, 13, 13,
|
518
|
+
14, 15, 13, 13, 13, 13, 13, 13,
|
519
|
+
13, 13, 0, 0, 3, 16, 0, 0,
|
520
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
521
|
+
17, 18, 18, 19, 18, 20, 20, 21,
|
522
|
+
20, 18, 18, 0, 22, 0, 3, 10,
|
523
|
+
10, 11,
|
524
|
+
]
|
525
|
+
|
526
|
+
class << self
|
527
|
+
attr_accessor :_eof_actions
|
528
|
+
private :_eof_actions, :_eof_actions=
|
529
|
+
end
|
530
|
+
self._eof_actions = [
|
531
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
532
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
533
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
534
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
535
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
536
|
+
17, 18, 20, 18, 0, 10, 0,
|
537
|
+
]
|
538
|
+
|
539
|
+
class << self
|
540
|
+
attr_accessor :start
|
541
|
+
end
|
542
|
+
self.start = 1
|
543
|
+
class << self
|
544
|
+
attr_accessor :first_final
|
545
|
+
end
|
546
|
+
self.first_final = 40
|
547
|
+
class << self
|
548
|
+
attr_accessor :error
|
549
|
+
end
|
550
|
+
self.error = 0
|
565
551
|
|
552
|
+
class << self
|
553
|
+
attr_accessor :en_comment_tail
|
554
|
+
end
|
555
|
+
self.en_comment_tail = 28
|
556
|
+
class << self
|
557
|
+
attr_accessor :en_main
|
558
|
+
end
|
559
|
+
self.en_main = 1
|
566
560
|
|
567
561
|
def self.parse(data)
|
568
562
|
data = data.dup.force_encoding(Encoding::ASCII_8BIT) if data.respond_to?(:force_encoding)
|
569
563
|
|
570
|
-
content_disposition = ContentDispositionStruct.new(
|
564
|
+
content_disposition = ContentDispositionStruct.new("", [])
|
571
565
|
return content_disposition if Mail::Utilities.blank?(data)
|
572
566
|
|
573
567
|
# Parser state
|
@@ -578,318 +572,318 @@ self.en_main = 1;
|
|
578
572
|
eof = pe = data.length
|
579
573
|
stack = []
|
580
574
|
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
end
|
588
|
-
|
589
|
-
|
590
|
-
begin
|
591
|
-
testEof = false
|
592
|
-
_slen, _trans, _keys, _inds, _acts, _nacts = nil
|
593
|
-
_goto_level = 0
|
594
|
-
_resume = 10
|
595
|
-
_eof_trans = 15
|
596
|
-
_again = 20
|
597
|
-
_test_eof = 30
|
598
|
-
_out = 40
|
599
|
-
while true
|
600
|
-
if _goto_level <= 0
|
601
|
-
if p == pe
|
602
|
-
_goto_level = _test_eof
|
603
|
-
next
|
604
|
-
end
|
605
|
-
if cs == 0
|
606
|
-
_goto_level = _out
|
607
|
-
next
|
608
|
-
end
|
609
|
-
end
|
610
|
-
if _goto_level <= _resume
|
611
|
-
_keys = cs << 1
|
612
|
-
_inds = _index_offsets[cs]
|
613
|
-
_slen = _key_spans[cs]
|
614
|
-
_wide = data[p].ord
|
615
|
-
_trans = if ( _slen > 0 &&
|
616
|
-
_trans_keys[_keys] <= _wide &&
|
617
|
-
_wide <= _trans_keys[_keys + 1]
|
618
|
-
) then
|
619
|
-
_indicies[ _inds + _wide - _trans_keys[_keys] ]
|
620
|
-
else
|
621
|
-
_indicies[ _inds + _slen ]
|
622
|
-
end
|
623
|
-
cs = _trans_targs[_trans]
|
624
|
-
if _trans_actions[_trans] != 0
|
625
|
-
case _trans_actions[_trans]
|
626
|
-
when 1 then
|
627
|
-
begin
|
628
|
-
disp_type_s = p end
|
629
|
-
when 17 then
|
630
|
-
begin
|
631
|
-
content_disposition.disposition_type = chars(data, disp_type_s, p-1).downcase end
|
632
|
-
when 2 then
|
633
|
-
begin
|
634
|
-
param_attr_s = p end
|
635
|
-
when 4 then
|
636
|
-
begin
|
637
|
-
param_attr = chars(data, param_attr_s, p-1) end
|
638
|
-
when 7 then
|
639
|
-
begin
|
640
|
-
qstr_s = p end
|
641
|
-
when 9 then
|
642
|
-
begin
|
643
|
-
qstr = chars(data, qstr_s, p-1) end
|
644
|
-
when 5 then
|
645
|
-
begin
|
646
|
-
param_val_s = p end
|
647
|
-
when 18 then
|
648
|
-
begin
|
649
|
-
|
650
|
-
if param_attr.nil?
|
651
|
-
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
652
|
-
end
|
653
|
-
|
654
|
-
# Use quoted string value if one exists, otherwise use parameter value
|
655
|
-
value = qstr || chars(data, param_val_s, p-1)
|
656
|
-
|
657
|
-
content_disposition.parameters << { param_attr => value }
|
658
|
-
param_attr = nil
|
659
|
-
qstr = nil
|
660
|
-
end
|
661
|
-
when 10 then
|
662
|
-
begin
|
663
|
-
end
|
664
|
-
when 13 then
|
665
|
-
begin
|
666
|
-
end
|
667
|
-
when 3 then
|
668
|
-
begin
|
669
|
-
begin
|
670
|
-
stack[top] = cs
|
671
|
-
top+= 1
|
672
|
-
cs = 28
|
673
|
-
_goto_level = _again
|
674
|
-
next
|
675
|
-
end
|
676
|
-
end
|
677
|
-
when 16 then
|
678
|
-
begin
|
679
|
-
begin
|
680
|
-
top -= 1
|
681
|
-
cs = stack[top]
|
682
|
-
_goto_level = _again
|
683
|
-
next
|
684
|
-
end
|
685
|
-
end
|
686
|
-
when 8 then
|
687
|
-
begin
|
688
|
-
qstr_s = p end
|
689
|
-
begin
|
690
|
-
qstr = chars(data, qstr_s, p-1) end
|
691
|
-
when 6 then
|
692
|
-
begin
|
693
|
-
param_val_s = p end
|
694
|
-
begin
|
695
|
-
begin
|
696
|
-
stack[top] = cs
|
697
|
-
top+= 1
|
698
|
-
cs = 28
|
699
|
-
_goto_level = _again
|
700
|
-
next
|
701
|
-
end
|
702
|
-
end
|
703
|
-
when 22 then
|
704
|
-
begin
|
705
|
-
|
706
|
-
if param_attr.nil?
|
707
|
-
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
708
|
-
end
|
709
|
-
|
710
|
-
# Use quoted string value if one exists, otherwise use parameter value
|
711
|
-
value = qstr || chars(data, param_val_s, p-1)
|
712
|
-
|
713
|
-
content_disposition.parameters << { param_attr => value }
|
714
|
-
param_attr = nil
|
715
|
-
qstr = nil
|
716
|
-
end
|
717
|
-
begin
|
718
|
-
begin
|
719
|
-
stack[top] = cs
|
720
|
-
top+= 1
|
721
|
-
cs = 28
|
722
|
-
_goto_level = _again
|
723
|
-
next
|
724
|
-
end
|
725
|
-
end
|
726
|
-
when 12 then
|
727
|
-
begin
|
728
|
-
end
|
729
|
-
begin
|
730
|
-
param_attr_s = p end
|
731
|
-
when 20 then
|
732
|
-
begin
|
733
|
-
end
|
734
|
-
begin
|
735
|
-
|
736
|
-
if param_attr.nil?
|
737
|
-
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
738
|
-
end
|
739
|
-
|
740
|
-
# Use quoted string value if one exists, otherwise use parameter value
|
741
|
-
value = qstr || chars(data, param_val_s, p-1)
|
742
|
-
|
743
|
-
content_disposition.parameters << { param_attr => value }
|
744
|
-
param_attr = nil
|
745
|
-
qstr = nil
|
746
|
-
end
|
747
|
-
when 11 then
|
748
|
-
begin
|
749
|
-
end
|
750
|
-
begin
|
751
|
-
begin
|
752
|
-
stack[top] = cs
|
753
|
-
top+= 1
|
754
|
-
cs = 28
|
755
|
-
_goto_level = _again
|
756
|
-
next
|
757
|
-
end
|
758
|
-
end
|
759
|
-
when 14 then
|
760
|
-
begin
|
761
|
-
end
|
762
|
-
begin
|
763
|
-
begin
|
764
|
-
stack[top] = cs
|
765
|
-
top+= 1
|
766
|
-
cs = 28
|
767
|
-
_goto_level = _again
|
768
|
-
next
|
769
|
-
end
|
770
|
-
end
|
771
|
-
when 15 then
|
772
|
-
begin
|
773
|
-
end
|
774
|
-
begin
|
775
|
-
begin
|
776
|
-
top -= 1
|
777
|
-
cs = stack[top]
|
778
|
-
_goto_level = _again
|
779
|
-
next
|
780
|
-
end
|
781
|
-
end
|
782
|
-
when 19 then
|
783
|
-
begin
|
784
|
-
begin
|
785
|
-
stack[top] = cs
|
786
|
-
top+= 1
|
787
|
-
cs = 28
|
788
|
-
_goto_level = _again
|
789
|
-
next
|
790
|
-
end
|
791
|
-
end
|
792
|
-
begin
|
793
|
-
|
794
|
-
if param_attr.nil?
|
795
|
-
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
796
|
-
end
|
797
|
-
|
798
|
-
# Use quoted string value if one exists, otherwise use parameter value
|
799
|
-
value = qstr || chars(data, param_val_s, p-1)
|
800
|
-
|
801
|
-
content_disposition.parameters << { param_attr => value }
|
802
|
-
param_attr = nil
|
803
|
-
qstr = nil
|
804
|
-
end
|
805
|
-
when 21 then
|
806
|
-
begin
|
807
|
-
end
|
808
|
-
begin
|
809
|
-
begin
|
810
|
-
stack[top] = cs
|
811
|
-
top+= 1
|
812
|
-
cs = 28
|
813
|
-
_goto_level = _again
|
814
|
-
next
|
815
|
-
end
|
816
|
-
end
|
817
|
-
begin
|
818
|
-
|
819
|
-
if param_attr.nil?
|
820
|
-
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
821
|
-
end
|
822
|
-
|
823
|
-
# Use quoted string value if one exists, otherwise use parameter value
|
824
|
-
value = qstr || chars(data, param_val_s, p-1)
|
825
|
-
|
826
|
-
content_disposition.parameters << { param_attr => value }
|
827
|
-
param_attr = nil
|
828
|
-
qstr = nil
|
829
|
-
end
|
830
|
-
end
|
831
|
-
end
|
832
|
-
end
|
833
|
-
if _goto_level <= _again
|
834
|
-
if cs == 0
|
835
|
-
_goto_level = _out
|
836
|
-
next
|
837
|
-
end
|
838
|
-
p += 1
|
839
|
-
if p != pe
|
840
|
-
_goto_level = _resume
|
841
|
-
next
|
842
|
-
end
|
843
|
-
end
|
844
|
-
if _goto_level <= _test_eof
|
845
|
-
if p == eof
|
846
|
-
case _eof_actions[cs]
|
847
|
-
when 17 then
|
848
|
-
begin
|
849
|
-
content_disposition.disposition_type = chars(data, disp_type_s, p-1).downcase end
|
850
|
-
when 18 then
|
851
|
-
begin
|
852
|
-
|
853
|
-
if param_attr.nil?
|
854
|
-
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
855
|
-
end
|
856
|
-
|
857
|
-
# Use quoted string value if one exists, otherwise use parameter value
|
858
|
-
value = qstr || chars(data, param_val_s, p-1)
|
859
|
-
|
860
|
-
content_disposition.parameters << { param_attr => value }
|
861
|
-
param_attr = nil
|
862
|
-
qstr = nil
|
863
|
-
end
|
864
|
-
when 10 then
|
865
|
-
begin
|
866
|
-
end
|
867
|
-
when 20 then
|
868
|
-
begin
|
869
|
-
end
|
870
|
-
begin
|
871
|
-
|
872
|
-
if param_attr.nil?
|
873
|
-
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
874
|
-
end
|
875
|
-
|
876
|
-
# Use quoted string value if one exists, otherwise use parameter value
|
877
|
-
value = qstr || chars(data, param_val_s, p-1)
|
878
|
-
|
879
|
-
content_disposition.parameters << { param_attr => value }
|
880
|
-
param_attr = nil
|
881
|
-
qstr = nil
|
882
|
-
end
|
883
|
-
end
|
884
|
-
end
|
885
|
-
|
886
|
-
end
|
887
|
-
if _goto_level <= _out
|
888
|
-
break
|
889
|
-
end
|
890
|
-
end
|
891
|
-
end
|
575
|
+
begin
|
576
|
+
p ||= 0
|
577
|
+
pe ||= data.length
|
578
|
+
cs = start
|
579
|
+
top = 0
|
580
|
+
end
|
892
581
|
|
582
|
+
begin
|
583
|
+
testEof = false
|
584
|
+
_slen, _trans, _keys, _inds, _acts, _nacts = nil
|
585
|
+
_goto_level = 0
|
586
|
+
_resume = 10
|
587
|
+
_eof_trans = 15
|
588
|
+
_again = 20
|
589
|
+
_test_eof = 30
|
590
|
+
_out = 40
|
591
|
+
while true
|
592
|
+
if _goto_level <= 0
|
593
|
+
if p == pe
|
594
|
+
_goto_level = _test_eof
|
595
|
+
next
|
596
|
+
end
|
597
|
+
if cs == 0
|
598
|
+
_goto_level = _out
|
599
|
+
next
|
600
|
+
end
|
601
|
+
end
|
602
|
+
if _goto_level <= _resume
|
603
|
+
_keys = cs << 1
|
604
|
+
_inds = _index_offsets[cs]
|
605
|
+
_slen = _key_spans[cs]
|
606
|
+
_wide = data[p].ord
|
607
|
+
_trans = if (_slen > 0 &&
|
608
|
+
_trans_keys[_keys] <= _wide &&
|
609
|
+
_wide <= _trans_keys[_keys + 1])
|
610
|
+
_indicies[_inds + _wide - _trans_keys[_keys]]
|
611
|
+
else
|
612
|
+
_indicies[_inds + _slen]
|
613
|
+
end
|
614
|
+
cs = _trans_targs[_trans]
|
615
|
+
if _trans_actions[_trans] != 0
|
616
|
+
case _trans_actions[_trans]
|
617
|
+
when 1
|
618
|
+
begin
|
619
|
+
disp_type_s = p
|
620
|
+
end
|
621
|
+
when 17
|
622
|
+
begin
|
623
|
+
content_disposition.disposition_type = chars(data, disp_type_s, p - 1).downcase
|
624
|
+
end
|
625
|
+
when 2
|
626
|
+
begin
|
627
|
+
param_attr_s = p
|
628
|
+
end
|
629
|
+
when 4
|
630
|
+
begin
|
631
|
+
param_attr = chars(data, param_attr_s, p - 1)
|
632
|
+
end
|
633
|
+
when 7
|
634
|
+
begin
|
635
|
+
qstr_s = p
|
636
|
+
end
|
637
|
+
when 9
|
638
|
+
begin
|
639
|
+
qstr = chars(data, qstr_s, p - 1)
|
640
|
+
end
|
641
|
+
when 5
|
642
|
+
begin
|
643
|
+
param_val_s = p
|
644
|
+
end
|
645
|
+
when 18
|
646
|
+
begin
|
647
|
+
if param_attr.nil?
|
648
|
+
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
649
|
+
end
|
650
|
+
|
651
|
+
# Use quoted string value if one exists, otherwise use parameter value
|
652
|
+
value = qstr || chars(data, param_val_s, p - 1)
|
653
|
+
|
654
|
+
content_disposition.parameters << {param_attr => value}
|
655
|
+
param_attr = nil
|
656
|
+
qstr = nil
|
657
|
+
end
|
658
|
+
when 10
|
659
|
+
begin
|
660
|
+
end
|
661
|
+
when 13
|
662
|
+
begin
|
663
|
+
end
|
664
|
+
when 3
|
665
|
+
begin
|
666
|
+
begin
|
667
|
+
stack[top] = cs
|
668
|
+
top += 1
|
669
|
+
cs = 28
|
670
|
+
_goto_level = _again
|
671
|
+
next
|
672
|
+
end
|
673
|
+
end
|
674
|
+
when 16
|
675
|
+
begin
|
676
|
+
begin
|
677
|
+
top -= 1
|
678
|
+
cs = stack[top]
|
679
|
+
_goto_level = _again
|
680
|
+
next
|
681
|
+
end
|
682
|
+
end
|
683
|
+
when 8
|
684
|
+
begin
|
685
|
+
qstr_s = p
|
686
|
+
end
|
687
|
+
begin
|
688
|
+
qstr = chars(data, qstr_s, p - 1)
|
689
|
+
end
|
690
|
+
when 6
|
691
|
+
begin
|
692
|
+
param_val_s = p
|
693
|
+
end
|
694
|
+
begin
|
695
|
+
begin
|
696
|
+
stack[top] = cs
|
697
|
+
top += 1
|
698
|
+
cs = 28
|
699
|
+
_goto_level = _again
|
700
|
+
next
|
701
|
+
end
|
702
|
+
end
|
703
|
+
when 22
|
704
|
+
begin
|
705
|
+
if param_attr.nil?
|
706
|
+
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
707
|
+
end
|
708
|
+
|
709
|
+
# Use quoted string value if one exists, otherwise use parameter value
|
710
|
+
value = qstr || chars(data, param_val_s, p - 1)
|
711
|
+
|
712
|
+
content_disposition.parameters << {param_attr => value}
|
713
|
+
param_attr = nil
|
714
|
+
qstr = nil
|
715
|
+
end
|
716
|
+
begin
|
717
|
+
begin
|
718
|
+
stack[top] = cs
|
719
|
+
top += 1
|
720
|
+
cs = 28
|
721
|
+
_goto_level = _again
|
722
|
+
next
|
723
|
+
end
|
724
|
+
end
|
725
|
+
when 12
|
726
|
+
begin
|
727
|
+
end
|
728
|
+
begin
|
729
|
+
param_attr_s = p
|
730
|
+
end
|
731
|
+
when 20
|
732
|
+
begin
|
733
|
+
end
|
734
|
+
begin
|
735
|
+
if param_attr.nil?
|
736
|
+
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
737
|
+
end
|
738
|
+
|
739
|
+
# Use quoted string value if one exists, otherwise use parameter value
|
740
|
+
value = qstr || chars(data, param_val_s, p - 1)
|
741
|
+
|
742
|
+
content_disposition.parameters << {param_attr => value}
|
743
|
+
param_attr = nil
|
744
|
+
qstr = nil
|
745
|
+
end
|
746
|
+
when 11
|
747
|
+
begin
|
748
|
+
end
|
749
|
+
begin
|
750
|
+
begin
|
751
|
+
stack[top] = cs
|
752
|
+
top += 1
|
753
|
+
cs = 28
|
754
|
+
_goto_level = _again
|
755
|
+
next
|
756
|
+
end
|
757
|
+
end
|
758
|
+
when 14
|
759
|
+
begin
|
760
|
+
end
|
761
|
+
begin
|
762
|
+
begin
|
763
|
+
stack[top] = cs
|
764
|
+
top += 1
|
765
|
+
cs = 28
|
766
|
+
_goto_level = _again
|
767
|
+
next
|
768
|
+
end
|
769
|
+
end
|
770
|
+
when 15
|
771
|
+
begin
|
772
|
+
end
|
773
|
+
begin
|
774
|
+
begin
|
775
|
+
top -= 1
|
776
|
+
cs = stack[top]
|
777
|
+
_goto_level = _again
|
778
|
+
next
|
779
|
+
end
|
780
|
+
end
|
781
|
+
when 19
|
782
|
+
begin
|
783
|
+
begin
|
784
|
+
stack[top] = cs
|
785
|
+
top += 1
|
786
|
+
cs = 28
|
787
|
+
_goto_level = _again
|
788
|
+
next
|
789
|
+
end
|
790
|
+
end
|
791
|
+
begin
|
792
|
+
if param_attr.nil?
|
793
|
+
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
794
|
+
end
|
795
|
+
|
796
|
+
# Use quoted string value if one exists, otherwise use parameter value
|
797
|
+
value = qstr || chars(data, param_val_s, p - 1)
|
798
|
+
|
799
|
+
content_disposition.parameters << {param_attr => value}
|
800
|
+
param_attr = nil
|
801
|
+
qstr = nil
|
802
|
+
end
|
803
|
+
when 21
|
804
|
+
begin
|
805
|
+
end
|
806
|
+
begin
|
807
|
+
begin
|
808
|
+
stack[top] = cs
|
809
|
+
top += 1
|
810
|
+
cs = 28
|
811
|
+
_goto_level = _again
|
812
|
+
next
|
813
|
+
end
|
814
|
+
end
|
815
|
+
begin
|
816
|
+
if param_attr.nil?
|
817
|
+
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
818
|
+
end
|
819
|
+
|
820
|
+
# Use quoted string value if one exists, otherwise use parameter value
|
821
|
+
value = qstr || chars(data, param_val_s, p - 1)
|
822
|
+
|
823
|
+
content_disposition.parameters << {param_attr => value}
|
824
|
+
param_attr = nil
|
825
|
+
qstr = nil
|
826
|
+
end
|
827
|
+
end
|
828
|
+
end
|
829
|
+
end
|
830
|
+
if _goto_level <= _again
|
831
|
+
if cs == 0
|
832
|
+
_goto_level = _out
|
833
|
+
next
|
834
|
+
end
|
835
|
+
p += 1
|
836
|
+
if p != pe
|
837
|
+
_goto_level = _resume
|
838
|
+
next
|
839
|
+
end
|
840
|
+
end
|
841
|
+
if _goto_level <= _test_eof
|
842
|
+
if p == eof
|
843
|
+
case _eof_actions[cs]
|
844
|
+
when 17
|
845
|
+
begin
|
846
|
+
content_disposition.disposition_type = chars(data, disp_type_s, p - 1).downcase
|
847
|
+
end
|
848
|
+
when 18
|
849
|
+
begin
|
850
|
+
if param_attr.nil?
|
851
|
+
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
852
|
+
end
|
853
|
+
|
854
|
+
# Use quoted string value if one exists, otherwise use parameter value
|
855
|
+
value = qstr || chars(data, param_val_s, p - 1)
|
856
|
+
|
857
|
+
content_disposition.parameters << {param_attr => value}
|
858
|
+
param_attr = nil
|
859
|
+
qstr = nil
|
860
|
+
end
|
861
|
+
when 10
|
862
|
+
begin
|
863
|
+
end
|
864
|
+
when 20
|
865
|
+
begin
|
866
|
+
end
|
867
|
+
begin
|
868
|
+
if param_attr.nil?
|
869
|
+
raise Mail::Field::ParseError.new(Mail::ContentDispositionElement, data, "no attribute for value")
|
870
|
+
end
|
871
|
+
|
872
|
+
# Use quoted string value if one exists, otherwise use parameter value
|
873
|
+
value = qstr || chars(data, param_val_s, p - 1)
|
874
|
+
|
875
|
+
content_disposition.parameters << {param_attr => value}
|
876
|
+
param_attr = nil
|
877
|
+
qstr = nil
|
878
|
+
end
|
879
|
+
end
|
880
|
+
end
|
881
|
+
end
|
882
|
+
if _goto_level <= _out
|
883
|
+
break
|
884
|
+
end
|
885
|
+
end
|
886
|
+
end
|
893
887
|
|
894
888
|
if p != eof || cs < 40
|
895
889
|
raise Mail::Field::IncompleteParseError.new(Mail::ContentDispositionElement, data, p)
|