From b7749b39ae075441e18f1c9b5ad8a26a9365d763 Mon Sep 17 00:00:00 2001 From: legatvs Date: Mon, 31 Aug 2009 17:07:48 +0300 Subject: [PATCH] Fix: liveleak: "error: Unsupported protocol (http/1)". --- CHANGES | 3 +++ lib/clive/Host/Liveleak.pm | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index 86764a6..8b88688 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ Version 2.2.6 + User-visible changes: + * Fix: liveleak: "error: Unsupported protocol (http/1)" (closes #36) + Developer-visible changes: * t/11redtube.t: fix dead link diff --git a/lib/clive/Host/Liveleak.pm b/lib/clive/Host/Liveleak.pm index c3f438f..e44971f 100644 --- a/lib/clive/Host/Liveleak.pm +++ b/lib/clive/Host/Liveleak.pm @@ -71,6 +71,7 @@ sub _parseConfig { if (clive::Util::matchRegExps( \%re, \$tmp, \$content ) == 0 ) { $self->{video_link} = $tmp->{location}; + $self->{video_link} =~ tr/ //d; return (0); } } -- 2.11.4.GIT