a1dert/lh-tickets-test — Issue #257: URI::InvalidComponentError when open company site
Author: a1dert
Created: 2011-11-30 12:01:04+00:00
State: open

Imported from lighthouse. Original ticket at: http://redtape.lighthouseapp.com/projects/59696/tickets/343. Created by Alexey Derkach - 2011-06-27T11:20:56Z

Steps to reproduce:

1. Go to Settings page.
2. Change site name to “-sitename”.
3. Open company site " http://-sitename.articulateexpress.com "

Expected: user should not be able to change the name of the site to starting with “-”
Actual: user can change site name to starting with “-”

Details:
bad component(expected host component): -sitename.articulateexpress.com

Browser: Firefox 5, Opera 11.11, Safari.

According to: [story 6683](https://tracker.anahoret.com/projects/44/stories/6683 "story 6683")