[GH-ISSUE #220] Requests to incorrect URL, if there is not trailing slash #162

Closed
opened 2026-02-28 01:23:29 +03:00 by kerem · 0 comments
Owner

Originally created by @shtrih on GitHub (Nov 7, 2014).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/220

If SyncUrl is http://site.com/sync-sms then it turns to http://site.com?task=sent. And when it http://site.com/sync-sms/ (slash at the end) then everything is okay.

Lines in sources:

Originally created by @shtrih on GitHub (Nov 7, 2014). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/220 If SyncUrl is `http://site.com/sync-sms` then it turns to `http://site.com?task=sent`. And when it `http://site.com/sync-sms/` (slash at the end) then everything is okay. Lines in sources: - [MessageResultsController.java:55](https://github.com/ushahidi/SMSSync/blame/bc9125dc30f2833e4ac24ec01ecf1db7debbbf77/smssync/src/main/java/org/addhen/smssync/controllers/MessageResultsController.java#L55) - [MessageResultsController.java:83](https://github.com/ushahidi/SMSSync/blame/bc9125dc30f2833e4ac24ec01ecf1db7debbbf77/smssync/src/main/java/org/addhen/smssync/controllers/MessageResultsController.java#L83) - [MessageResultsController.java:116](https://github.com/ushahidi/SMSSync/blame/bc9125dc30f2833e4ac24ec01ecf1db7debbbf77/smssync/src/main/java/org/addhen/smssync/controllers/MessageResultsController.java#L116)
kerem closed this issue 2026-02-28 01:23:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#162
No description provided.