title: Attribute routing not working in MVC4
body: <p>I am using <code>Attribute Routing</code> in <code>MVC4</code> application. I have set route to <code>[Route("test-{testParam1}-{testParam2}")]</code>. Here `{testParam2}' may consist the word 'test'. For example, if I enter a url as below,</p>
  
  <pre class="lang-none prettyprint-override"><code>localhost:33333/test-temp-test-tempparam2
  </code></pre>
  
  <p>This gives me 404 error. Here in the url, here <code>{testParam2}</code> is having two words <code>test tempparam2</code> formatted to <code>test-tempparam2</code>. When <code>test</code> word is at last position of <code>{testParam2}</code>, it runs good. That means if the url is like <code>.../test-temp-tempParam2-test</code> runs good. But following give error. <code>.../test-temp-test-tempParam2</code>.</p>
  
  <p>Below is the code that may help...</p>
  
  <pre><code>[Route ("test-{testParam1}-{testParam2}")]
  public ActionResult Foo (int testParam2) {...}
  </code></pre>
  
  <p>Now try following two url.</p>
  
  <ol>
  <li><p><code>localhost:(port)/test-temp-1</code></p></li>
  <li><p><code>localhost:(port)/test-test-temp-1</code></p></li>
  </ol>
  
  <p>In my case second gives error. In this case first parameter is formatted to <code>test-temp</code> from <code>test temp</code>. First runs good.</p>
  
  <p>How to solve this problem?</p>