-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

debussy007 wrote on 12.08.2009 21:47:
> I would have had less routes if the default values were working like it is
> suggested in the manual.
> E.g.
> Zend_Controller_Router_Route(':lang/:controller/:pageid/*',
> array('controller' => 'index'), array('lang' => 'fr|nl|en'));
> doesn't catch an URL like:
> /fr/services-webmaster (I expected that :controller getting the default
> value and :pageid getting services-webmaster)

No, controller is "services-webmaster" and pageid is missing, so the
route cannot match. All your 9 routes also seem to overlap in several
parts, so they are not unique, which makes them kinda pointless.

- --
...................................
:  ___   _   ___ ___ ___ _ ___    :
: |   \ /_\ / __| _ \ _ (_)   \   :
: | |) / _ \\__ \  _/   / | |) |  :
: |___/_/:\_\___/_| |_|_\_|___/   :
:........:........................:
: Web    : http://www.dasprids.de :
: E-mail : [email protected]       :
: Jabber : [email protected]     :
: ICQ    : 105677955              :
:........:........................:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqDMPIACgkQ0HfT5Ws789B89QCgj5rFX8G6pozTdH6ScWKdk7EK
X98AnAqfcWE4Sl5diHIe/v+aWtvDe3ZU
=Jl1e
-----END PGP SIGNATURE-----

Reply via email to