Red Hat Bugzilla – Bug 243791
ruby's yaml module folds long-multiline data wrong (loses data)
Last modified: 2012-06-20 09:24:46 EDT
Description of problem:
ruby's yaml module defaults to mangling data that's multi-line and has a line over 80 chars long,
dropping every 80th character (and replacing it with a newline).
Version-Release number of selected component (if applicable):
ruby -ryaml -e 'puts ("#\n"<<"A"*(YAML::DEFAULTS[:BestWidth]-1)<<"B"<<"A").to_yaml()'
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.