-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Unicode wikilinks' t/unicode.t test fails with Encode ≥ 2.53 #121
Comments
MojoMojo::Schema::ResultSet::Page::normalize_name() does:
while input variable is an Unicode string. uri_unescape() unfortunately preserves the UTF-8 flag despite the output of URI-unescaping is a byte-string by definition. See for discussions in Encode bug queue: CPAN RT#81460, #70161, and #43859. This patch fixes it:
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'Unicode wikilinks' t/unicode.t test fails with Encode ≥ 2.53 because Encode::decode_utf8() started to check that the input is a valid UTF-8 byte-stream even if Perl UTF-8 flag is set on:
The problem is a Perl Unicode string is passed to Encode::decode_utf8() which is and effective request for double decoding.
See https://bugzilla.redhat.com/show_bug.cgi?id=1092015 for more details.
The text was updated successfully, but these errors were encountered: