Skip to content

Commit

Permalink
Fixed app crash sending forms with url containing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
batkinson committed Sep 20, 2016
1 parent 8299fd7 commit f95d71f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ protected Outcome doInBackground(Long... values) {

// Use the app's configured URL unless the form included a submission URL
int subIdx = c.getColumnIndex(InstanceColumns.SUBMISSION_URI);
String urlString = c.isNull(subIdx) ? getServerSubmissionURL() : c.getString(subIdx);
String urlString = c.isNull(subIdx) ? getServerSubmissionURL() : c.getString(subIdx).trim();

// add the deviceID to the request...
try {
Expand Down

0 comments on commit f95d71f

Please sign in to comment.