From c5fbdce9cdc4f9f9bcc4c8402f904f45854f1630 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Fri, 31 Jan 2014 11:38:30 +0000 Subject: [PATCH] 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 --- extras/server-save/svg-editor-save.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/server-save/svg-editor-save.js b/extras/server-save/svg-editor-save.js index a9f02c06..2564d75b 100644 --- a/extras/server-save/svg-editor-save.js +++ b/extras/server-save/svg-editor-save.js @@ -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}); };