Currently, requests are being matched based on their REQUEST_URI. This requires some special server environment handling and is actually not the ideal path to be checking during routing behavior.
Most routing libraries actually route based on a request's PATH_INFO, which can be pre-processed by PHP or the FGCI proxy server.
Unfortunately, the PATH_INFO request/environment variable can be a little strange under certain configurations, so it would probably be a good idea to use it as a primary and then fall back to the old REQUEST_URI if need be.