yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00583
[Bug 1103243] Re: Async messaging framework still escapes string marked as safe
** 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/1103243
Title:
Async messaging framework still escapes string marked as safe
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
The asycnhronous messaging framework still escapes string marked as
safe (example: mark_safe("xxx")
Example code:
from django.utils.safestring import mark_safe
from horizon import messages
...
msg = mark_safe("Operation succeeds, to view the record click on <a href="some URL">here</a>")
messages.success(request, msg)
...
I think the messaging framework should check for mark_safe string to
be consistent with the behavior of messaging framework of django.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1103243/+subscriptions