Actions
Bug #24022
closedEncoding::UndefinedConversionError at failed hosts call
Description
When I issue
wget q -O --body-file=LICENSE --method POST --header="Content-Type: text/plain" http://localhost:3000/unattended/failed?token=689ba68a-a511-44b1-bca5-c8f3f1ff353e
I get this error:
Encoding::UndefinedConversionError ("\xE2" from ASCII-8BIT to UTF-8)
Maybe we need something like this:
.encode('utf-8', invalid: :replace, undef: :replace, replace: '_')
Or make sure we get the correct encoding in the first place.
Updated by Timo Goebel over 6 years ago
- Related to Feature #21007: Templates API to mark a build as failed added
Updated by Lukas Zapletal over 6 years ago
- Status changed from New to Need more information
- Triaged set to No
Unable to repro with Foreman LICENSE file and sqlite3. Is this on postgresql?
Updated by Lukas Zapletal over 6 years ago
- Status changed from Need more information to New
Oh reproduced!
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman/pull/5761 added
Updated by Daniel Lobato Garcia over 6 years ago
- Translation missing: en.field_release set to 353
Updated by Daniel Lobato Garcia over 6 years ago
- Status changed from Ready For Testing to Closed
Actions