Add restriction for api redirects to modify only urls starting with slash