Bug fix: Wildcard in routing pattern consumes entire query string (Bug #592)