Open gregkare opened 12 years ago
Yep, sounds like a bug. We should be liberal in what we accept, and at the very least not crash. Thank you for reporting the issue and taking the time to get the stack trace!!! :heart: :heart: :heart:
I am thinking this OStatus::Feed.from_url(url) should raise an exception giving an invalid URI .
That sounds right, @Nakort.
It seems to be related to #314
I've just opened an issue on ostatus which seems to cause this. I now know ostatus identifiers look like email adresses and not URI, but it's what I first tried and thus got the error page. Only then did I actually read the examples just some pixels below the form.
I've set up rstat.us on my machine so I can give you a stacktrace:
To reproduce the issue (happens in production as well) :
/follow
There should probably be some JS validation on the form to avoid that regardless of the ostatus issue.