-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix html decoding in Job Viewer -> Edit Search
Original Bug Report: https://app.asana.com/0/342819846538629/828830620362347 When entering a Search Title that contains html encodable values ( <, >, & etc ), saving and then editing the search causes the encoded title to be editable, not the decoded title. Example: - Search Title: Pwned!<script>alert(1)</script> - When viewed this displays correctly as text. But if you 'edit' the search you will instead see the value below. - Encoded: Pwned!<script>alert(1)</script> - This is what you see when editing the search. - If you save the search after editing it then it will then become: - Pwned!&lt;script&</script&> Description: the .text element contains html content. but you have to put normal text in the form field.
- Loading branch information
Showing
3 changed files
with
89 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters