updated commons libs:

- codec to 1.10
- fileupload to 1.3.2
- io to 2.5
- logging to 1.2
- net to 3.6
This commit is contained in:
Robert Gaggl 2017-03-27 14:39:34 +02:00
parent 390231e8dd
commit 021a24a100
6 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -118,7 +118,7 @@ function escapeXml_filter(input) {
* @see http://www.google.com/codesearch?q=escapeHtml * @see http://www.google.com/codesearch?q=escapeHtml
*/ */
function escapeHtml_filter(input) { function escapeHtml_filter(input) {
var replace = Packages.org.mortbay.util.StringUtil.replace; var replace = Packages.org.eclipse.jetty.util.StringUtil.replace;
var str = (input || "").toString(); var str = (input || "").toString();
return replace(replace(replace(replace(str, '&', '&amp;'), '"', '&quot;'), '>', '&gt;'), '<', '&lt;'); return replace(replace(replace(replace(str, '&', '&amp;'), '"', '&quot;'), '>', '&gt;'), '<', '&lt;');
} }
@ -145,7 +145,7 @@ function escapeUrl_filter(input, param, charset) {
* definitions. * definitions.
*/ */
function escapeJavaScript_filter(input) { function escapeJavaScript_filter(input) {
var replace = Packages.org.mortbay.util.StringUtil.replace; var replace = Packages.org.eclipse.jetty.util.StringUtil.replace;
var str = (input || "").toString(); var str = (input || "").toString();
return replace(replace(replace(replace(replace(str, '"', '\\"'), "'", "\\'"), '\n', '\\n'), '\r', '\\r'), '\t', '\\t'); return replace(replace(replace(replace(replace(str, '"', '\\"'), "'", "\\'"), '\n', '\\n'), '\r', '\\r'), '\t', '\\t');
} }
@ -155,7 +155,7 @@ function escapeJavaScript_filter(input) {
* Replaces linebreaks with HTML linebreaks. * Replaces linebreaks with HTML linebreaks.
*/ */
function linebreakToHtml_filter(input) { function linebreakToHtml_filter(input) {
var replace = Packages.org.mortbay.util.StringUtil.replace; var replace = Packages.org.eclipse.jetty.util.StringUtil.replace;
var str = (input || "").toString(); var str = (input || "").toString();
return replace(str, '\n', '<br />'); return replace(str, '\n', '<br />');
} }
@ -171,7 +171,7 @@ function replace_filter(input, param, oldString, newString) {
var str = (input || "").toString(); var str = (input || "").toString();
var oldString = param["old"] != null ? param["old"] : oldString; var oldString = param["old"] != null ? param["old"] : oldString;
var newString = param["new"] != null ? param["new"] : newString; var newString = param["new"] != null ? param["new"] : newString;
var replace = Packages.org.mortbay.util.StringUtil.replace; var replace = Packages.org.eclipse.jetty.util.StringUtil.replace;
return replace(str, oldString, newString); return replace(str, oldString, newString);
} }