[libflickr-api-perl] 01/02: Update flickr-api-urls.patch: Change two more URLs.

gregor herrmann gregoa at debian.org
Fri Jul 4 18:58:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to annotated tag debian/1.01-3+deb7u2
in repository libflickr-api-perl.

commit 71f7d87c7b3c8e45767ad8acf64edb3a81a8700a
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jul 4 20:54:16 2014 +0200

    Update flickr-api-urls.patch: Change two more URLs.
    
    Backport fix for lib/Flickr/API/Request.pm in the 1.10 release, which
    adjusts 2 more instances of the Flickr API URLs.
---
 debian/patches/flickr-api-urls.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/debian/patches/flickr-api-urls.patch b/debian/patches/flickr-api-urls.patch
index a519a0d..cd15add 100644
--- a/debian/patches/flickr-api-urls.patch
+++ b/debian/patches/flickr-api-urls.patch
@@ -32,3 +32,23 @@ Applied-Upstream: fixed in 1.09
  
  
  ##################################################
+--- a/lib/Flickr/API/Request.pm
++++ b/lib/Flickr/API/Request.pm
+@@ -14,7 +14,7 @@
+ 	my $self = new HTTP::Request;
+ 	$self->{api_method}	= $options->{method};
+ 	$self->{api_args}	= $options->{args};
+-	$self->{rest_uri}	= $options->{rest_uri} || 'http://www.flickr.com/services/rest/';
++	$self->{rest_uri}	= $options->{rest_uri} || 'https://api.flickr.com/services/rest/';
+ 
+ 	bless $self, $class;
+ 
+@@ -27,7 +27,7 @@
+ sub encode_args {
+ 	my ($self) = @_;
+ 
+-	my $url = URI->new('http:');
++	my $url = URI->new('https:');
+ 	$url->query_form(%{$self->{api_args}});
+ 	my $content = $url->query;
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libflickr-api-perl.git



More information about the Pkg-perl-cvs-commits mailing list