FINERACT-1483: fix Sonar vulnerabilities with Minor severity

This commit is contained in:
taskain7
2022-05-09 14:42:22 +02:00
committed by Arnold Gálovics
parent 9696a7e905
commit 665bd0f6fb
8 changed files with 131 additions and 55 deletions
@@ -0,0 +1,13 @@
Feature: Security Utils Infrastructure
@security
Scenario: Verify that log parameter escape util does not change strings that does not contain any special character
Given A simple log message without any special character
When Log parameter escape util escaping the special characters
Then The log message stays as it is
@security
Scenario: Verify that log parameter escape util changes special characters in string
Given A log message with new line, carriage return and tab characters
When Log parameter escape util escaping the special characters
Then The escape util changes the special characters to `_`