title: An upgrade from CakePHP 1.2 to 1.3 broke my routes, although they should be 1.3 compatible
body: <p>I`v been upgrading CakePHP from 1.2.10 to 1.3.11 by using "<a href="http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3" rel="nofollow">Migrating from CakePHP 1.2 to 1.3</a>" Guide and i'm aware that i must ensure that my routes are compatible with 1.3.</p>
  
  <p>However my routes don't do anything that's incompatible:</p>
  
  <blockquote>
    <p>This is no longer supported as mid-route greedy stars behaved
    erratically, and complicated route compiling. Outside of these two
    edge-case features and the above changes the router behaves exactly as
    it did in 1.2</p>
  </blockquote>
  
  <p>The other edge case is:</p>
  
  <blockquote>
    <p>First path segments using full regular expressions was removed.</p>
  </blockquote>
  
  <h2>How my routes behave:</h2>
  
  <ul>
  <li>When opening homepage, <strong>doesn't work</strong>, however on 1.2 it sucessfully matched route #1 (solved by Ivo)</li>
  <li><strong>/lv/products</strong> *<em>doesn't work</em>*. Should have matched #6 using controller "Products" and default action "index" but it thinks that "lv" is controller (ignoring the :lang param)</li>
  <li><strong>/lv/products/index</strong> works!</li>
  <li><strong>/lv/products/view/productname</strong> works!</li>
  </ul>
  
  <p>Cake provides errors similar to this error (copied when opening <strong>/lv/products</strong>:</p>
  
  <pre><code>Missing Controller
  Error: LvController could not be found.
  Error: Create the class LvController below in file: app\controllers\lv_controller.php
  &lt;?php
  class LvController extends AppController {
  
      var $name = 'Lv';
  }
  ?&gt;
  </code></pre>
  
  <h2>My routes:</h2>
  
  <pre><code>    //Route #1: This route should have worked as a root route, because we have a default for :lang. But now i cannot open up the homepage if i don't define explicit "/" route
      Router::connect("/:lang/",
          array("controller" =&gt; "start", "lang" =&gt; "lv"),
          array("lang" =&gt; "[a-z]{2}")
      );
  
      //#2 This route seems to work ok.
      Router::connect("/admin/:lang/:controller/:action/*",
          array("lang" =&gt; "lv", "admin" =&gt; true),
          array("lang" =&gt; "[a-z]{2}")
      );
  
      // ==============================================================================
  
      //#3 Routes with static parts - works
      Router::connect("/:lang/info/*",
          array("controller" =&gt; "sections", "action" =&gt; "view", "lang" =&gt; "lv"),
          array("lang" =&gt; "[a-z]{2}")
      );
  
      //#4
      Router::connect("/:lang/news",
          array("controller" =&gt; "news", "action" =&gt; "listall", "lang" =&gt; "lv"),
          array("lang" =&gt; "[a-z]{2}")
      );
  
      //#5
      Router::connect("/:lang/employees",
          array("controller" =&gt; "employees", "action" =&gt; "index", "lang" =&gt; "lv"),
          array("lang" =&gt; "[a-z]{2}")
      );
  
      // ==============================================================================
  
  
      //#6 Catch all route. 
      Router::connect("/:lang/:controller/:action/*",
          array("lang" =&gt; "lv"),
          array("lang" =&gt; "[a-z]{2}")
      );
  </code></pre>
  
  <p>Thank you for any assistance.</p>