have Route obey the routing.strip_extensions config key. Closes #1266