From bed1cfa16d10782ad97ea39c1e9f2c142b6cb17c Mon Sep 17 00:00:00 2001 From: Flavio Poletti Date: Sun, 21 Jul 2013 16:44:24 +0200 Subject: [PATCH] advancement in DWIM, POD issues removal --- Changes | 4 +++- lib/Net/Amazon/S3/Policy.pm | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index f3ff03b..f0aa57f 100644 --- a/Changes +++ b/Changes @@ -1,8 +1,10 @@ Revision history for Net-Amazon-S3-Policy -0.1.3 +0.1.3 Sun Jul 21 16:43:00 2013 Added "SEE ALSO" section. Made "DWIM" management more sane. + Fixed issue with POD encoding + 0.1.2 Thu Sep 4 02:56:00 2008 Put a requisite on JSON at least version 2. diff --git a/lib/Net/Amazon/S3/Policy.pm b/lib/Net/Amazon/S3/Policy.pm index 3aadb51..d5c9478 100644 --- a/lib/Net/Amazon/S3/Policy.pm +++ b/lib/Net/Amazon/S3/Policy.pm @@ -215,6 +215,8 @@ sub _encode_base64 { 1; # Magic true value required at end of module __END__ +=encoding iso-8859-1 + =head1 NAME Net::Amazon::S3::Policy - manage Amazon S3 policies for HTTP POST forms @@ -376,7 +378,7 @@ Your policy can then be built like this: '$key starts-with /restricted/', # restrict to here '$Content-Type starts-with image/', # accept any image format '$x-amz-meta-colour *', # accept any colour - 'bucket: somebucket', + 'bucket eq somebucket', ], ); -- 2.11.4.GIT