Hi ,
Don’t experience any crashes, no abnormalities in desktop builds either.
It’s only when running the project in a browser.
So
-
I post a string (eg. “test”) with the code above to a given url
-
The raw data that has been posted is read by a php script at that location using this php line:
$raw_data = file_get_contents(“php://input”); //result should be ‘test’
-
The php script then stores this data (‘test’) in a database table
-
As shown in the screenshort above I notice sporadic random trailing characters at the end of the posted string in my table. Sometimes its fine: ‘test’, sometimes it’s not: ‘testp’, ‘testo’, ‘testƒº¬’, …
This only occurs when posted from within a browser and the occurrence seems to be random (the first three lines in my screenshot were posted using the desktop build and they are always fine)
I’ve tested several browsers (Firefox, , Chrome, Safari) both on PC and Mac. They all seem to be providing me with the sporadic random trailing characters.
Now
I do have a work around for the time being…
I’ve put a special character at the end of each string and, in my php script, I go ahead and delete all things and then some behind that character. So in the end it’s pretty again ![]()