measuredvoice/ringsail — Issue #8: Bug - Accounts with dot shouldn't break routing
Author: globalspin
Created: 2012-01-31 17:40:25+00:00
State: open
Labels: 2 - To Do

Accounts (outlets) with a dot in the account name (/twitter/cancer.gov) shouldn't break routing.

Current behavior:

1. Add an account with a dot in the account name (e.g. http://twitter.com/cancer.gov)
2. Visit the account's canonical URL (/accounts/twitter/cancer.gov)
3. The account isn't found because the route strips .gov as an output format.

Desired behavior:

1. ...
2. ...
3. The route for /accounts/[:service_id]/[:account] should only strip off .json, .html, and .xml formats.