Fixed 301 loops due to (.:format).

Doing some special-case handling of these URL parameters; this should
be fixed in the future. But, for now, this prevents loops from
being introduced.