Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A slightly different fix for issue #514. Filters input before passing…
… on to the OStatus gem and throws an exception if it doesn't look like an email address or a URL. I discovered by typing 'test' into the remote follow form that `open` will still happily look for a local file if you give it something that isn't a URL. So now ConvertsSubscriberToFeedData will just raise an exception if what it gets is neither an email address looking thing nor a URL looking thing, and the subscriptions controller will catch that to show the nice error message.
- Loading branch information
1 parent
7ea6c99
commit 1ecfee9
Showing
5 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters