public class EscapeChars extends Object
Constructor and Description |
---|
EscapeChars() |
Modifier and Type | Method and Description |
---|---|
static String |
forFormSubmission(String str)
Escapes strings with application/x-www-form-urlencoded encoding.
|
static String |
forScriptTag(String string)
Escapes content so that it can be safely embedded in a <script> tag in HTML5.
|
static String |
forUrl(String string)
Escapes strings with URL percent encoding.
|
static String |
forURL(String queryString)
Deprecated.
since 5.11 use
forUrl(String) or forFormSubmission(String) |
@Deprecated public static String forURL(String queryString)
forUrl(String)
or forFormSubmission(String)
queryString
- The string that need to be escapedpublic static String forFormSubmission(String str)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.