Skip to content

Commit

Permalink
Merge 9889d18 into 04c14ca
Browse files Browse the repository at this point in the history
  • Loading branch information
genio committed Mar 6, 2019
2 parents 04c14ca + 9889d18 commit 96cb32c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 14 deletions.
38 changes: 26 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,38 @@ addons:
- aspell-en
language: perl
perl:
- blead
- dev
- '5.28'
- '5.26'
- '5.24'
- '5.22'
- '5.20'
- '5.18'
- '5.16'
- '5.14'
- '5.12'
- '5.10'
- '5.8'
- "blead"
- "blead-thr"
- "5.28"
- "5.28-thr"
- "5.26"
- "5.26-thr"
- "5.24"
- "5.24-thr"
- "5.22"
- "5.22-thr"
- "5.20"
- "5.20-thr"
- "5.18"
- "5.18-thr"
- "5.16"
- "5.16-thr"
- "5.14"
- "5.14-thr"
- "5.12"
- "5.12-thr"
- "5.10"
- "5.10-thr"
- "5.8"
- "5.8-thr"
cache:
directories:
- $HOME/perl5
matrix:
allow_failures:
- perl: blead
- perl: blead-thr
fast_finish: 1
include:
- env: COVERAGE=1
Expand All @@ -44,6 +57,7 @@ before_install:
- build-dist
- cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command
install:
- cpan-install Data::Dump Authen::NTLM Test::Spelling Test::Pod Test::Pod::Coverage Test::Version Test::EOL
- cpan-install --deps # installs prereqs, including optional modules
- cpan-install --coverage # installs converage prereqs, if enabled
before_script:
Expand Down
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Change history for libwww-perl

{{$NEXT}}
- Improve ->add_handler documentation (GH #272) (Julien Fiegehenn)
- Alter our rule set to allow IPv6 proxy hosts beginning with [. (GH #237)

6.36 2018-10-10 02:20:58Z
- fix broken link https://metacpan.org/pod/LWP::Simple by fixing pod
Expand Down
2 changes: 1 addition & 1 deletion lib/LWP/UserAgent.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ sub proxy {
my $url = shift;
if (defined($url) && length($url)) {
Carp::croak("Proxy must be specified as absolute URI; '$url' is not") unless $url =~ /^$URI::scheme_re:/;
Carp::croak("Bad http proxy specification '$url'") if $url =~ /^https?:/ && $url !~ m,^https?://\w,;
Carp::croak("Bad http proxy specification '$url'") if $url =~ /^https?:/ && $url !~ m,^https?://[\w[],;
}
$self->{proxy}{$key} = $url;
$self->set_my_handler("request_preprepare", \&_need_proxy)
Expand Down
1 change: 0 additions & 1 deletion xt/author/live/jigsaw/redirect-post.t
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ unlike($content, qr/GET not implemented/, 'response was not a GET');
like($uri, qr/303_ok\.html/, 'redirected to the correct page');
unlike($content, qr/POST not allowed on this resource/, '303 OK endpoint was not a POST');
like($content, qr/Your browser made it!/, 'response shows that we followed a 307 POST redirect and then a 303 GET redirect');

0 comments on commit 96cb32c

Please sign in to comment.