iodine 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of iodine might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/iodine/http/request.rb +3 -3
- data/lib/iodine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52b6a918e31cf2734100dca991e1641bc8b41363
|
4
|
+
data.tar.gz: df5c3697673f57ddb4917b86a883438618f8ff9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 246d8001e1a4866ce2c0e77b616b2eb7cb06f52b4a2d63c701b0c0a4cd15cc4faebb6b81ec3f82a546e88a42dec631b6468112107bdd01fe1722d54b2d89679b
|
7
|
+
data.tar.gz: cc87fe1ba30eb7d121e98343bbfa2452a620b52ba5fe5cb607d7c9d978f8b391056e61c5ebaec999cff714e75f7815f3148cf5e3c26488a033637298120695b1
|
data/CHANGELOG.md
CHANGED
@@ -8,6 +8,12 @@ Please notice that this change log contains changes for upcoming releases as wel
|
|
8
8
|
|
9
9
|
***
|
10
10
|
|
11
|
+
Change log v.0.1.3
|
12
|
+
|
13
|
+
**Fix**: fixed an issue with the new form/multipart parser, where the '+' sign would be converted to spaces on form fields (not uploaded files), causing inadvert potential change to the original POSTed data.
|
14
|
+
|
15
|
+
***
|
16
|
+
|
11
17
|
Change log v.0.1.2
|
12
18
|
|
13
19
|
**Fix**: fixed an issue where the default implementation of `ping` didn not reset the timeout if the connection wasn't being closed (the default implementation checks if the Protocol is working on existing data and either resets the timer allowing the work to complete or closes the connection if no work is being done).
|
data/lib/iodine/http/request.rb
CHANGED
@@ -412,8 +412,8 @@ module Iodine
|
|
412
412
|
end_part_pos = (body.pos - line.bytesize) - 2
|
413
413
|
new_part_pos = body.pos
|
414
414
|
body.pos = end_part_pos
|
415
|
-
end_part_pos += 1 unless body.getc
|
416
|
-
|
415
|
+
end_part_pos += 1 unless body.getc =~ /[\r\n]/.freeze
|
416
|
+
end_part_pos += 1 unless body.getc =~ /[\r\n\-]/.freeze
|
417
417
|
if part_headers['content-type'.freeze]
|
418
418
|
if part_headers['content-type'.freeze] =~ /multipart/i
|
419
419
|
body.pos = start_part_pos
|
@@ -438,7 +438,7 @@ module Iodine
|
|
438
438
|
end
|
439
439
|
else
|
440
440
|
body.pos = start_part_pos
|
441
|
-
add_param_to_hash name,
|
441
|
+
add_param_to_hash name, form_decode!( body.read(end_part_pos - start_part_pos) ), request[:params]
|
442
442
|
end
|
443
443
|
body.pos = new_part_pos
|
444
444
|
end
|
data/lib/iodine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iodine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|