unmk2 / jaxl

Automatically exported from code.google.com/p/jaxl
GNU General Public License v3.0
0 stars 0 forks source link

preparePayload in jaxl.js doen't handle carriage returns #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When message have several lines and it is passed via preparePayload - error 
will be generated:

Problem is here: json += "'"+key+"':'"+obj[key]+"'" when obj[key] have several 
lines (\r \n)

File: jaxl.js, function preparePayload

Original issue reported on code.google.com by alexeyfr...@gmail.com on 28 Jan 2011 at 2:05

GoogleCodeExporter commented 9 years ago
Hi Alex,

I am currently traveling, shall check-in the updated code over the weekend.

PS: jaxl.js is merely a demonstration of how to interact with Jaxl bosh support 
using javascript. You are free to improve/modify jaxl.js or even use your own 
javascript solutions to complete ajax polls.

Original comment by mailsfor...@gmail.com on 28 Jan 2011 at 11:55

GoogleCodeExporter commented 9 years ago
Hello Friends,

I am no longer accepting issues/bugs on google code issue list.

Have any Question? Want to discuss? Need Help? Use Google Group/Forum.
https://groups.google.com/forum/#!forum/jaxl

Found something missing or a bug in the source code? Kindly report an issue.
https://github.com/abhinavsingh/JAXL/issues

Sorry for any inconvenience caused.

--
Abhinav

Original comment by mailsfor...@gmail.com on 12 Sep 2012 at 9:52