Bug #7488
closedOn creating hostgroup with html tags, UI appends the closing tag and string in name
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1131416
Description of problem:
when you create hostgroup with html tags, UI appends the closing tag and string in name and covert it to a link.
ex: create hostgroup with name <h1>test</h1> and after creation UI will list it as <h1>test<h1>test</h1> and covert
Version-Release number of selected component (if applicable):
sat6 GA snap5
How reproducible:
always
Steps to Reproduce:
1. create hostgroup with name <h1>test</h1>
2. once created, see the listing
3.
Actual results:
UI shows <h1>test<h1>test</h1> on creating hostgroup with name <h1>test</h1>
see the string "test" and closing tag"</h1>" appended to the original name.
Expected results:
UI should the given name <h1>test</h1> in listing too and without converted it into a link
Additional info:
Updated by Dominic Cleal over 10 years ago
- Subject changed from On creating hostgroup with html tags, UI appends the closing tag and string in name and converts it to link to On creating hostgroup with html tags, UI appends the closing tag and string in name
- Category set to Web Interface
The "/" in the host group name is confusing the UI helpers and it's thinking that it's a nested host group, so is trying to display the parent portion in grey and the name in blue.
Updated by Tomer Brisker about 10 years ago
- Status changed from New to Assigned
- Assignee set to Tomer Brisker
Updated by The Foreman Bot about 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1918 added
- Pull request deleted (
)
Updated by Anonymous about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset a08897e1ef0be9087720f8f19fa8326f9256faa2.
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release set to 21