Skip to content
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

try hard to make a usable file name #125

Merged
merged 1 commit into from Feb 4, 2019
Merged

try hard to make a usable file name #125

merged 1 commit into from Feb 4, 2019

Conversation

daxim
Copy link
Contributor

@daxim daxim commented Jan 31, 2019

fix #124

Setting LC_ALL=C reveals that HTTP::Response::filename created unusable file
names. Use Encode's fallback coderef to make a URI encoded name when the plain
character does not work. Practice with dwheeler's encodef has shown this is
the least interference-prone encoding scheme.

fix #124

Setting LC_ALL=C reveals that HTTP::Response::filename created unusable file
names. Use Encode's fallback coderef to make a URI encoded name when the plain
character does not work. Practice with dwheeler's encodef has shown this is
the least interference-prone encoding scheme.
@oalders
Copy link
Member

oalders commented Feb 1, 2019

Thanks @daxim! Test failures are on the Changes file, so that's fine.

@oalders oalders requested a review from skaji February 1, 2019 15:14
@karenetheridge
Copy link
Member

karenetheridge commented Feb 1, 2019 via email

@vanHoesel
Copy link
Member

it's sad to see is_like in the test, as if we do not know what it is going to be, but yeah that it is all about!

lib/HTTP/Response.pm Show resolved Hide resolved
@oalders
Copy link
Member

oalders commented Feb 4, 2019

Thanks @daxim and @vanHoesel!

@oalders oalders merged commit b7ba355 into libwww-perl:master Feb 4, 2019
@oalders
Copy link
Member

oalders commented Feb 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Locale-specific (?) test failures (6.19-TRIAL)
4 participants