ForumsDevelopersBug in encoding of less than symbol (

Bug in encoding of less than symbol (
Author Message

Posted: Sep 19, 2011
Score: 0 Reference
Today I noticed an issue with the less than symbol (<) when downloading tasks or notes in JSON format. If this symbol appears in a task's note or in a notebook's note it is being sent from Toodledo's server as "& lt;". As a result, if someone types a < into a note it appears in our application as & lt;.

I checked the HTTP response string our application is receiving from Toodledo, and confirmed that the error is originating from Toodledo's server. Here is an example of what our app is receiving:

[{"num":"1","total":"1"},{"id":"992073","title":"Test Note 7 < >","folder":"1304755","added":"1285541734","modified":"1316444965","private":"0","text":"& lt; > &"}]

The title of the notebook is "Test Note 7 < >" and the note is "< > &". The issue does not affect titles or other symbols such as > or &.

This message was edited Sep 19, 2011.

Toodledo Admin
Posted: Sep 19, 2011
Score: 0 Reference
Yes, it does appear that the < character is getting double escaped. We will look into this.
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.