[GH-ISSUE #122] URL_PATTERN not working right? #97

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

Originally created by @mandric on GitHub (Sep 17, 2013).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/122

Trying to include basic auth credentials in a sync url and get the "Please enter valid URL" message. Is it just me or does URL_PATTERN not work as expected?

screen shot 2013-09-17 at 3 30 48 pm

Originally created by @mandric on GitHub (Sep 17, 2013). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/122 Trying to include basic auth credentials in a sync url and get the "Please enter valid URL" message. Is it just me or does URL_PATTERN not work as expected? ![screen shot 2013-09-17 at 3 30 48 pm](https://f.cloud.github.com/assets/25641/1160390/1e70f5f8-1fd8-11e3-9be3-e9773ca0366f.png)
kerem closed this issue 2026-02-28 01:23:10 +03:00
Author
Owner

@mandric commented on GitHub (Sep 17, 2013):

Strange thing is when I test out the URL_PATTERN separately, the pattern seems to work as expected.

https://github.com/ushahidi/SMSSync/blob/develop/smssync/src/main/java/org/addhen/smssync/util/Util.java#L78

<!-- gh-comment-id:24620407 --> @mandric commented on GitHub (Sep 17, 2013): Strange thing is when I test out the URL_PATTERN separately, the pattern seems to work as expected. https://github.com/ushahidi/SMSSync/blob/develop/smssync/src/main/java/org/addhen/smssync/util/Util.java#L78
Author
Owner

@eyedol commented on GitHub (Sep 18, 2013):

@mandric Funky. I saw your pull request. Does it mean the issue has disappeared?

<!-- gh-comment-id:24636171 --> @eyedol commented on GitHub (Sep 18, 2013): @mandric Funky. I saw your pull request. Does it mean the issue has disappeared?
Author
Owner

@mandric commented on GitHub (Sep 18, 2013):

It seems that way... but maybe you can verify?

<!-- gh-comment-id:24636489 --> @mandric commented on GitHub (Sep 18, 2013): It seems that way... but maybe you can verify?
Author
Owner

@eyedol commented on GitHub (Sep 18, 2013):

@mandric I'll write a test case to verify. This scheme http://user:pass@domain.com/index.php fails right?

<!-- gh-comment-id:24638657 --> @eyedol commented on GitHub (Sep 18, 2013): @mandric I'll write a test case to verify. This scheme `http://user:pass@domain.com/index.php` fails right?
Author
Owner

@mandric commented on GitHub (Sep 24, 2013):

Added a test in the http-client-refactor branch.

<!-- gh-comment-id:24973191 --> @mandric commented on GitHub (Sep 24, 2013): Added a test in the http-client-refactor branch.
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#97
No description provided.