Changeset [5eaebb7f5c8945f4b86f65851b3450197b6cc339] by Simon Lipp

February 28th, 2012 @ 10:30 AM

Don't try to use query_string to determine request_uri() if
it doesn't looks like a proper route

Query string can be used to determine routing when used this
way :

http://test/index.php?/route

However, this method consume GET arguments even if query string
is not intended to be used for routing. To fix that, we don't
even try to use query string for routing if query string doesn't
starts with /.
https://github.com/sofadesign/limonade/commit/5eaebb7f5c8945f4b86f6...

Committed by Simon Lipp

  • M lib/limonade.php
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Limonade is a PHP micro-framework.