[2.5, UI] Errors from the form layer are not properly escaped
Bug #1790976 reported by
Mike Pontillo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Lee Trager |
Bug Description
While working on bug #1782409, I noticed that when an error message is presented to the user, strings like <target> become HTML tags instead of being escaped.
The screenshot should explain what I mean. The error here is supposed to say:
Invalid SRV: Should be '<priority> <weight> <port> <server>'. Range for priority, weight, and port are 0-65536.
Related branches
~ltrager/maas:lp1790976
Merged
into
maas:master
- Blake Rouse (community): Approve
- MAAS Lander: Approve
-
Diff: 51 lines (+12/-9)1 file modifiedsrc/maasserver/static/js/angular/directives/maas_obj_form.js (+12/-9)
Changed in maas: | |
milestone: | 2.5.0beta2 → 2.5.0rc1 |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.