Closed antoche closed 11 years ago
Related to #21
It might rather be an issue in ACRA's JSONReportBuilder.
It's actually an issue in the way Custom Data are transformed into a single String to be stored in the final Properties file on the android device disk. I have to update ACRA to escape new lines during this process.
If I add custom data with newlines in it, the lines after the first ones turn into keys in the custom data table.
For example, calling
ACRA.getErrorReporter().putCustomData( "USER_COMMENT", "hah\nha" );
results in the following data in the database entry:}
In this case the value came from an
EditText
in an Activity. Sounds like a potential security issue, doesn't it?