Fix security hotspots n Regex 30/120230/1
authorToineSiebelink <toine.siebelink@est.tech>
Tue, 6 Apr 2021 15:44:14 +0000 (16:44 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Tue, 6 Apr 2021 16:03:59 +0000 (17:03 +0100)
commit6e4ce6970552917c0f35617164017d93bd6b2f1b
tree8d88ebf02f2873ad54b6e629e0ac3f3c86c334a3
parenta3ceacb9ebf11c6467d66c0f42af714ef93591c2
Fix security hotspots n Regex

Attemting to fix security risks indentified by SQ by reducing unlimited spaces to 0-9 spaces
See https://sonarcloud.io/project/security_hotspots?id=onap_cps#
I think the proposed regex changes are acceptable and better then adding @SupressWarning annotation
(have to test by merging this commit as issues are not spotted when using SonarLinit locally?!)

Issue-ID: CPS-89

Change-Id: I00bbacb3145650ab7d21d13152c08d5ccf0c04fa
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
cps-application/src/main/java/org/onap/cps/config/WebSecurityConfig.java
cps-ri/src/main/java/org/onap/cps/spi/query/CpsPathQuery.java