Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

Bug in encoding of less than symbol (



AuthorMessage
dnicholson

Posted: Sep 19, 2011
Score: 0



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.
Jake

Toodledo Admin
Posted: Sep 19, 2011
Score: 0



Yes, it does appear that the < character is getting double escaped. We will look into this.
You cannot reply yet


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



Toodledo Forums > Developers