Yo callback API - ampersands

Posted in General by stephen Fri Dec 02 2016 00:03:52 GMT+0000 (Coordinated Universal Time)·Viewed 535 times

The Yo callback API triggers GET requests like the following: host/?username=testuser&location=10.0000;-20.0000 However, most URI parsing libraries treat semicolons the same as ampersands - to separate form fields. As per W3C recommendation: https://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2 This causes the location field to be incorrectly parsed by most libraries. I suggest adding a two new fields, latitude and longitude with no need for semicolons. Then at some point deprecating the existing location field.
Markdown is allowed