Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 890741 Details for
Bug 1092015
mojomojo-1.10-2.fc21 FTBFS
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Prpoposed fix
0001-normalize-name-as-a-byte-string.patch (text/plain), 1.36 KB, created by
Petr Pisar
on 2014-04-29 10:50:48 UTC
(
hide
)
Description:
Prpoposed fix
Filename:
MIME Type:
Creator:
Petr Pisar
Created:
2014-04-29 10:50:48 UTC
Size:
1.36 KB
patch
obsolete
>From f3fb6a261e047ca7068b08c0c292ae22d9007656 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> >Date: Tue, 29 Apr 2014 12:37:39 +0200 >Subject: [PATCH] normalize name as a byte string >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Since Encode-2.53, Encode::decode_utf8() requires argument to be >a byte string. Because URI::Escape::uri_unescape() returns unicode >string on unicode string input, one need to convert it to a byte >string before. > ><https://github.com/mojomojo/mojomojo/issues/121#issuecomment-41651507> > >Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com> >--- > lib/MojoMojo/Schema/ResultSet/Page.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/lib/MojoMojo/Schema/ResultSet/Page.pm b/lib/MojoMojo/Schema/ResultSet/Page.pm >index 306aa6a..3f1a7e2 100644 >--- a/lib/MojoMojo/Schema/ResultSet/Page.pm >+++ b/lib/MojoMojo/Schema/ResultSet/Page.pm >@@ -177,8 +177,8 @@ sub normalize_name { > $name =~ s/\s+/_/g; > $name = lc($name); > return ( >- Encode::decode_utf8(URI::Escape::uri_unescape($name_orig)), >- Encode::decode_utf8(URI::Escape::uri_unescape($name)), >+ Encode::decode_utf8(URI::Escape::uri_unescape(Encode::encode_utf8($name_orig))), >+ Encode::decode_utf8(URI::Escape::uri_unescape(Encode::encode_utf8($name))), > ); > } > >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1092015
: 890741