title: Extra / when redirecting a default route
body: <p>I configured my <code>RouteInitializer</code> as following:</p>
  
  <pre class="lang-dart prettyprint-override"><code>class AppRouteInitializer implements RouteInitializer {
  
    init(Router router, ViewFactory view) {
      router.root
        ..addRoute(
            name: 'root',
            path: '/lounge_client_demo/web/lounge_client_demo.html',
            mount: (Route route) =&gt; route
              ..addRoute(
                  name: 'lobby',
                  path: '#lobby',
                  enter: view('views/LobbyView.html'))
              ..addRoute(
                  name: 'chat',
                  path: '#chat',
                  enter: view('views/ChatView.html'))
              ..addRoute(
                  name: 'default',
                  defaultRoute: true,
                  enter: (_) =&gt; router.go('lobby', {'param': ':param'}, startingFrom: route, replace: false))
        );
    }
  
  }
  </code></pre>
  
  <p>The URL's to lobby and chat:</p>
  
  <p><code>http://127.0.0.1:3030/lounge_client_demo/web/lounge_client_demo.html#lobby</code>
  <code>http://127.0.0.1:3030/lounge_client_demo/web/lounge_client_demo.html#chat</code></p>
  
  <p>are working as expected. But, when I submit an URL like:</p>
  
  <p><code>http://127.0.0.1:3030/lounge_client_demo/web/lounge_client_demo.html</code></p>
  
  <p>or</p>
  
  <p><code>http://127.0.0.1:3030/lounge_client_demo/web/lounge_client_demo.html#xxx</code></p>
  
  <p>the rule in the <code>defaultRoute</code> is producing the following wrong URL:</p>
  
  <p><code>http://127.0.0.1:3030/lounge_client_demo/web/lounge_client_demo/.html#lobby</code></p>
  
  <p>Am I assuming something wrong here or is it just a bug?</p>
  
  <p><strong>UPDATE:</strong> The logging shows that the dot in the URL is being escaped and might be wrongly transformed into the target URL.</p>
  
  <pre><code>2014-01-29 01:20:18.026: FINEST : route /lounge_client_demo/web/lounge_client_demo.html [Route: null]
  2014-01-29 01:20:18.035: FINEST : _processNewRoute /lounge_client_demo/web/lounge_client_demo.html
  2014-01-29 01:20:18.047: FINEST : route  [Route: root]
  2014-01-29 01:20:18.055: FINEST : _processNewRoute 
  2014-01-29 01:20:18.066: FINEST : go /lounge_client_demo/web/lounge_client_demo\.html#lobby
  2014-01-29 01:20:18.075: FINEST : route #lobby [Route: root]
  2014-01-29 01:20:18.087: FINEST : _processNewRoute #lobby
  2014-01-29 01:20:18.099: FINEST : route  [Route: default]
  2014-01-29 01:20:18.108: FINEST : route  [Route: lobby]
  </code></pre>
  
  <p><strong>UPDATE:</strong> I have copied the <code>lounge_client_demo.html</code> into <code>test.file.with.dots.html</code> and get the following URL rewrite:</p>
  
  <p><code>http://127.0.0.1:3030/lounge_client_demo/web/test/.file/.with/.dots/.html#lobby</code></p>
  
  <p>The logging shows that every period is being "escaped" by a backslash:</p>
  
  <pre><code>2014-01-30 01:16:28.246: FINEST : go /lounge_client_demo/web/test\.file\.with\.dots\.html#lobby
  </code></pre>
  
  <p><strong>Possibly a problem with the period character in the route_hierarchical package?!</strong></p>