If I have a POST parameter of
d={"data": "<span>hello</span>"}
which is a JSON string and it works fine and request.POST.get('d') contains the full string. But if I change it to
d = {"data": "<span>hel;lo</span>"}
print (request.POST.get('d')) #prints '{"data": "<span>hel'
For some reason anything after a semicolon is cut off. I can confirm this is not Javascript doing this because I used to use the exact same javascript code to post to a PHP API which was able to retrieve the data. Since moving to Python and webapp2 I've had this issue.