← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1158383] Re: usage.csv escapes only limited characters

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1158383

Title:
  usage.csv escapes only limited characters

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  horizon / openstack_dashboard / dashboards / admin / overview /
  templates / overview / usage.csv

  Has escapes in there for limited CSV characters.  However, there are
  still some characters (like line breaks) that can cause this template
  to not render csv data correctly.

  Suggestion:
  Using the native python csv library (http://docs.python.org/2/library/csv.html) and a more generic template like this:
  {% autoescape off %}{{ csv }}{% endautoescape %}

  Seems to work with a much larger set of csv data combinations.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1158383/+subscriptions