-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#117] Fixed mustache tests vulnerability to date formats
- Loading branch information
Showing
8 changed files
with
15 additions
and
37 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ting/mustache-templating-test-resources/src/main/resources/template-cp/test-2-cp.mustache
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 |
---|---|---|
@@ -1 +1 @@ | ||
Test-2 (classpath): Test mustache file: receipt is {{receipt}} on {{date}} | ||
Test-2 (classpath): Test mustache file: receipt is {{receipt}} for {{#customer}}{{first_name}} {{family_name}}{{/customer}} |
2 changes: 1 addition & 1 deletion
2
...mustache-templating-test-resources/src/main/resources/template-cp/test-4-cp-part.mustache
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Test-4 (classpath, partials): Test mustache file: receipt is {{receipt}} on {{date}} | ||
Test-4 (classpath, partials): Test mustache file: receipt is {{receipt}} for {{#customer}}{{first_name}} {{family_name}}{{/customer}} | ||
Testing partials: | ||
{{> foo-4.mustache}} |
2 changes: 1 addition & 1 deletion
2
util/mustache-templating/mustache-templating-tests/src/main/templates/test-1.mustache
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 |
---|---|---|
@@ -1 +1 @@ | ||
Test-1: Test mustache file: receipt is {{receipt}} on {{date}} | ||
Test-1: Test mustache file: receipt is {{receipt}} for {{#customer}}{{first_name}} {{family_name}}{{/customer}} |
2 changes: 1 addition & 1 deletion
2
util/mustache-templating/mustache-templating-tests/src/main/templates/test3/test-3.mustache
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Test-3: Test mustache file: receipt is {{receipt}} on {{date}} | ||
Test-3: Test mustache file: receipt is {{receipt}} for {{#customer}}{{first_name}} {{family_name}}{{/customer}} | ||
Partial#1: {{> partials/test-3a.mustache}} | ||
Partial#2: {{> partials/test-3b.mustache}} |
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