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

Fix non-utf8 when found in uploaded RPMs (really). #1040

Merged
merged 1 commit into from
Mar 20, 2017

Conversation

ulif
Copy link
Contributor

@ulif ulif commented Mar 17, 2017

When uploading RPM packages with non-utf8 metadata, the upload was
aborted. A fix already applied apparently did not fix this completely.

Ensures that metadata from uploaded packages can be encoded to utf-8.
Where no such encoding is possible, replacement chars are inserted.

fixes #1903
https://pulp.plan.io/issues/1903

When uploading RPM packages with non-utf8 metadata, the upload was
aborted. A fix already applied apparently did not fix this completely.

Ensures that metadata from uploaded packages can be encoded to utf-8.
Where no such encoding is possible, replacement chars are inserted.

fixes pulp#1903
https://pulp.plan.io/issues/1903
@mention-bot
Copy link

@ulif, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bmbouter, @ipanova and @mhrivnak to be potential reviewers.

@pulpbot
Copy link
Member

pulpbot commented Mar 19, 2017

Can one of the admins verify this patch?

Copy link
Contributor

@jortel jortel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested.
Thank you for the patch!

@bmbouter
Copy link
Member

ok test

@bmbouter
Copy link
Member

The tests look good and it was approved so I'm merging.

@bmbouter bmbouter merged commit 97a261e into pulp:2.12-dev Mar 20, 2017
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.

None yet

5 participants