Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

[#3711] Fix regression in query string matching #3778

Closed

Commits on Feb 13, 2013

  1. [zendframework#3711] Fix regression in query string matching

    If a route is marked may_terminate, and a query string is present, in
    most cases, we should match; the query route is primarily for the
    convenience of _generating_ URIs via the assemble() method, and only
    matches if a query string is present.
    
    This patch adds tests that do the following:
    
    - If the route is marked may_terminate and a query string is present,
      but there is no Query route child, match and return immediately.
    - If the route is marked may_terminate, and a query string is present,
      and a Query route child is present, pass matching on to child routes.
    weierophinney committed Feb 13, 2013
    Copy the full SHA
    f9fad6e View commit details
    Browse the repository at this point in the history