[Bps-public-commit] Net-Jifty branch, master, updated. 8d912cb5b87fcaa7b6c0a11cd7817b97dd6b424f
Shawn Moore
sartak at bestpractical.com
Mon Jan 3 17:56:20 EST 2011
The branch, master has been updated
via 8d912cb5b87fcaa7b6c0a11cd7817b97dd6b424f (commit)
from 62d26a354d038e958a9f69d06a06e3d25fff2550 (commit)
Summary of changes:
Makefile.PL | 2 +-
t/006-uploads.t | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 8d912cb5b87fcaa7b6c0a11cd7817b97dd6b424f
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Mon Jan 3 17:47:38 2011 -0500
Encode 2.41 and above have slightly different MIME Encoded-Word behavior
Periods are now encoded
See also http://rt.cpan.org/Ticket/Display.html?id=63387
diff --git a/Makefile.PL b/Makefile.PL
index 2adbc50..9400603 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -7,7 +7,7 @@ requires 'Any::Moose' => '0.04';
requires 'LWP::UserAgent';
requires 'YAML';
requires 'URI';
-requires 'Encode';
+requires 'Encode' => '2.41';
build_requires 'Test::More';
build_requires 'Test::MockObject';
diff --git a/t/006-uploads.t b/t/006-uploads.t
index 2889da8..de7dc4c 100644
--- a/t/006-uploads.t
+++ b/t/006-uploads.t
@@ -117,7 +117,7 @@ is($args->[1], 'http://jifty.org/=/ping.yml', 'correct URL');
is $parts[0]->content_type, 'application/octet-stream', 'correct type of the part';
is $parts[0]->header('Content-Disposition'),
- 'form-data; name="file"; filename="=?UTF-8?Q?=D1=82?=.bin"',
+ 'form-data; name="file"; filename="=?UTF-8?Q?=D1=82=2Ebin?="',
'checked disposition';
is $parts[0]->content, 'stub', 'checked content';
}
@@ -142,7 +142,7 @@ is($args->[1], 'http://jifty.org/=/ping.yml', 'correct URL');
is $parts[0]->content_type, 'application/octet-stream', 'correct type of the part';
is $parts[0]->header('Content-Disposition'),
- 'form-data; name="=?UTF-8?Q?=D1=82?="; filename="=?UTF-8?Q?=D1=82?=.bin"',
+ 'form-data; name="=?UTF-8?Q?=D1=82?="; filename="=?UTF-8?Q?=D1=82=2Ebin?="',
'checked disposition';
is $parts[0]->content, 'stub', 'checked content';
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list