Comment 5 for bug 1370732

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

Reviewed: https://review.openstack.org/165067
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=04d07dab7fe15cf1b773326c662018ea9fa8ef75
Submitter: Jenkins
Branch: stable/juno

commit 04d07dab7fe15cf1b773326c662018ea9fa8ef75
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
    (cherry picked from commit 363ccf7b39bb14624e60ee1aa1f08f4e3f5f0642)