-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VAS] 11330 : add sanity on html injection
- Loading branch information
1 parent
0e30808
commit 4e56c08
Showing
10 changed files
with
135 additions
and
72 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
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
File renamed without changes.
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
12 changes: 12 additions & 0 deletions
12
commons/commons-security/src/test/resources/object_with_correct_values.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"firstName" : "Oussama", | ||
"lastName" : "zerouali", | ||
"id": "PersonId", | ||
"type": "vitamui", | ||
"state": "done", | ||
"task_status": "commit", | ||
"start_date": "2020-08-11T03:06:17.396Z", | ||
"end_date": "2020-08-11T03:06:17.396Z", | ||
"expiration_date": "2020-08-11T03:06:17.396Z", | ||
"result_link": "link to link" | ||
} |
12 changes: 12 additions & 0 deletions
12
commons/commons-security/src/test/resources/object_with_html_tag.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"firstName" : "<div class=\"col-6 form-control\"> <p class=\"title-text\">bla bla bla</p></div>", | ||
"lastName" : "<div class=\"col-6 form-control\"> <p class=\"title-text\">bla bla bla</p></div>", | ||
"id": "PersonId", | ||
"type": "vitamui", | ||
"state": "done", | ||
"task_status": "commit", | ||
"start_date": "2020-08-11T03:06:17.396Z", | ||
"end_date": "2020-08-11T03:06:17.396Z", | ||
"expiration_date": "2020-08-11T03:06:17.396Z", | ||
"result_link": "link to link" | ||
} |
13 changes: 13 additions & 0 deletions
13
commons/commons-security/src/test/resources/object_with_xml_tag.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"firstName" : "Oussama", | ||
"lastName" : "zerouali", | ||
"id": "PersonId", | ||
"type": "vitamui", | ||
"state": "done", | ||
"task_status": "commit", | ||
"xml_tag" : "<note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>", | ||
"start_date": "2020-08-11T03:06:17.396Z", | ||
"end_date": "2020-08-11T03:06:17.396Z", | ||
"expiration_date": "2020-08-11T03:06:17.396Z", | ||
"result_link": "link to link" | ||
} |
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