Vergleich jscripts/validator.js - 1.4.4 - 1.4.8
Zeile 136 | Zeile 136 |
---|---|
{ |
{ |
extra += "&" + options.extra_body[x] + "=" + escape(this.getValue(options.extra_body[x])); | extra += "&" + options.extra_body[x] + "=" + encodeURIComponent(this.getValue(options.extra_body[x])); |
} |
} |
extra = "&" + options.extra_body + "=" + escape(this.getValue(options.extra_body)); | extra = "&" + options.extra_body + "=" + encodeURIComponent(this.getValue(options.extra_body)); |
} |
} |
new Ajax.Request(options.url, {method:'post', postBody:"value=" + escape(value) + extra, onComplete: function(request) { this.ajaxValidateComplete(id, options, request); }.bind(this)}); | new Ajax.Request(options.url, {method:'post', postBody:"value=" + encodeURIComponent(value) + extra, onComplete: function(request) { this.ajaxValidateComplete(id, options, request); }.bind(this)}); |
|
|