We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Methods starting with jQuery.sap.encode... are deprecated. Therefore an autofix should be offered by UI5 linter.
jQuery.sap.encode...
Deprecated APIs:
const myCSS = jQuery.sap.encodeCSS("+"); const myJS = jQuery.sap.encodeJS("\""); const myURL = jQuery.sap.encodeURL("a/b?c=d&e"); const myURLParameters = jQuery.sap.encodeURLParameters({{a:true, b:"d e"}}); const myHTML = jQuery.sap.encodeHTML("<p>My Text</p>"); const myXML = jQuery.sap.encodeXML("<Text text=\"MyText\" />");
sap.ui.define([ "sap/base/security/encodeCSS", "sap/base/security/encodeJS", "sap/base/security/encodeURL", "sap/base/security/encodeURLParameters", "sap/base/security/encodeXML", ], (encodeCSS, encodeJS, encodeURL, encodeURLParameters, encodeXML) => { const myCSS = encodeCSS("+"); const myJS = encodeJS("\""); const myURL = encodeURL("a/b?c=d&e"); const myURLParameters = encodeURLParameters("{{a:true, b:"d e"}}"); const myHTML = encodeXML("<p>My Text</p>"); const myXML = encodeXML("<Text text=\"MyText\" />"); });
Note: jQuery.sap.encodeHTML is replaced by sap/base/security/encodeXML
jQuery.sap.encodeHTML
sap/base/security/encodeXML
The text was updated successfully, but these errors were encountered:
Will be implemented in CPOUI5FOUNDATION-990.
Sorry, something went wrong.
No branches or pull requests
Missing autofix for methods starting with jQuery.sap.encode
Methods starting with
jQuery.sap.encode...
are deprecated. Therefore an autofix should be offered by UI5 linter.Deprecated APIs:
Deprecated Usage
Recommended Usage
Note:
jQuery.sap.encodeHTML
is replaced bysap/base/security/encodeXML
The text was updated successfully, but these errors were encountered: