jQuery should already be encoding in a POST data request

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2656 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Brett Zamir
2014-01-31 11:38:30 +00:00
parent 7c3bc9189f
commit c5fbdce9cd

View File

@@ -1,4 +1,4 @@
/*globals $*/
this.saveHandler = function(svg) {'use strict';
$.post("svg-editor-save.php", {svg_data: encodeURIComponent(svg)});
$.post("svg-editor-save.php", {svg_data: svg});
};