Revision: 10061
          http://sourceforge.net/p/languagetool/code/10061
Author:   dnaber
Date:     2013-05-09 20:56:22 +0000 (Thu, 09 May 2013)
Log Message:
-----------
fix missing URI escape of "+" character

Modified Paths:
--------------
    trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js
    
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/editor_plugin.js

Modified: 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js
===================================================================
--- 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js    
    2013-05-09 20:13:12 UTC (rev 10060)
+++ 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js    
    2013-05-09 20:56:22 UTC (rev 10061)
@@ -779,7 +779,7 @@
             url          : url + "/" + file,
             content_type : 'text/xml',
             type         : "POST",
-            data         : "text=" + encodeURI(data).replace(/&/g, '%26')
+            data         : "text=" + encodeURI(data).replace(/&/g, 
'%26').replace(/\+/g, '%2B')
                            + "&language=" + encodeURI(languageCode),
             async        : true,
             success      : success,

Modified: 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/editor_plugin.js
===================================================================
--- 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/editor_plugin.js
    2013-05-09 20:13:12 UTC (rev 10060)
+++ 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/editor_plugin.js
    2013-05-09 20:56:22 UTC (rev 10061)
@@ -459,7 +459,7 @@
             url          : url + "/" + file,
             content_type : 'text/xml',
             type         : "POST",
-            data         : "text=" + encodeURI(data).replace(/&/g, '%26')
+            data         : "text=" + encodeURI(data).replace(/&/g, 
'%26').replace(/\+/g, '%2B')
                            + "&language=" + encodeURI(languageCode),
             async        : true,
             success      : success,

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to