SEC-812: Added missing TextUtils file
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package org.springframework.security.util;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class TextUtilsTests {
|
||||
|
||||
@Test
|
||||
public void charactersAreEscapedCorrectly() {
|
||||
assertEquals("a<script>"'", TextUtils.escapeEntities("a<script>\"'"));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user