Change URL Pattern matcher to allow URLs with '?' at the end, but no query-string parameters following it.