Comment 1 for bug 986481

Revision history for this message
Ashley Hood (sendtoashley) wrote :

Hi Tim,

You have probably already fixed this, but the bug is caused by the URL being encoded twice.
In "/src/org/openlp/android/activity/Alert.java" not encoding the text from the edittext box will solve it.

Change:
alert = JSONHandler.createRequestJSON("text", URLEncoder.encode(edittext.getText().toString(), "utf-8"));

to:
alert = JSONHandler.createRequestJSON("text", edittext.getText().toString());

I haven't had time to test this so can't be 100% sure it will work.

Hope this helps,

Ashley