Class org.apache.ofbiz.base.util.UtilCodecTests

5

tests

0

failures

0

ignored

0.240s

duration

100%

successful

Tests

Test Duration Result
canonicalizeRevealsEscapedXSS 0.155s passed
checkStringForHtmlStrictNoneDetectsXSS 0.015s passed
testCheckStringForHtmlSafe 0.044s passed
testCheckStringForHtmlStrictNone 0.026s passed
testGetEncoder 0s passed

Standard output

2021-05-10 15:57:47,381 |Test worker          |UtilCodec                     |E| Canonicalization (format consistency, character escaping that is mixed or double, etc) error for attribute named [double-encoding], String [%2%353Cscript]: org.apache.ofbiz.base.util.UtilCodec$IntrusionException: Input validation failure