Comment 2 for bug 1370732

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/122257
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=363ccf7b39bb14624e60ee1aa1f08f4e3f5f0642
Submitter: Jenkins
Branch: master

commit 363ccf7b39bb14624e60ee1aa1f08f4e3f5f0642
Author: Nicolas Simonds <email address hidden>
Date: Wed Sep 17 14:49:08 2014 -0700

    Make Image Description an input field instead of a textarea

    The glanceclient passes the value of the "Description" field as
    HTTP headers to the API, completely unmodified. If there are
    newlines in the content, it corrupts the headers and creates havoc.

    Encoding/decoding the results is not viable, since arbitrary (and
    not necessarily controlled by anyone) clients can retrieve the data. So as
    a dodge, use a normal <input> field for Description instead of
    <textarea> field, as newlines are not permitted in the former.

    Closes-Bug: 1370732
    Change-Id: I0231eaa693e7f36699fda6e011db8c976b639411