url support for the inclusion or removal of trailing slash