Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.String |
escapeString(java.lang.String value) Escapes the string to avoid log forgery or injecting malicious content. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Escapes the string to avoid log forgery or injecting malicious content. Java and HTML special symbols are escaped. We need to escape HTML cause ReadyAPI logs can be opened in web browsers.
Related CWEs: 93, 113, 117.