Hello community,
here is the log from the commit of package perl-Net-OpenID-Consumer for
openSUSE:Factory checked in at 2015-09-09 20:21:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-OpenID-Consumer (Old)
and /work/SRC/openSUSE:Factory/.perl-Net-OpenID-Consumer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-OpenID-Consumer"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Net-OpenID-Consumer/perl-Net-OpenID-Consumer.changes
2015-08-28 08:27:03.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Net-OpenID-Consumer.new/perl-Net-OpenID-Consumer.changes
2015-09-09 20:21:16.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep 4 16:03:44 UTC 2015 - [email protected]
+
+- add utf-charset.patch to fix login with utf characters
+
+-------------------------------------------------------------------
New:
----
utf-charset.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Net-OpenID-Consumer.spec ++++++
--- /var/tmp/diff_new_pack.poNGqo/_old 2015-09-09 20:21:17.000000000 +0200
+++ /var/tmp/diff_new_pack.poNGqo/_new 2015-09-09 20:21:17.000000000 +0200
@@ -25,6 +25,8 @@
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Net-OpenID-Consumer/
Source:
http://www.cpan.org/authors/id/W/WR/WROG/%{cpan_name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM utf-charset.patch rt.cpan.org#106930
+Patch: utf-charset.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -53,6 +55,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+%patch -p 1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
++++++ utf-charset.patch ++++++
diff --git a/lib/Net/OpenID/Consumer.pm b/lib/Net/OpenID/Consumer.pm
index a2261cb..9a9953b 100644
--- a/lib/Net/OpenID/Consumer.pm
+++ b/lib/Net/OpenID/Consumer.pm
@@ -976,7 +976,7 @@ sub verified_identity {
$post{"openid.mode"} = "check_authentication";
my $req = HTTP::Request->new(POST => $server);
- $req->header("Content-Type" => "application/x-www-form-urlencoded");
+ $req->header("Content-Type" => "application/x-www-form-urlencoded;
charset=UTF-8");
$req->content(join("&", map { "$_=" . uri_escape_utf8($post{$_}) }
keys %post));
my $ua = $self->ua;