Strip query string from routed URI