Enforce trailing slash policies on resource URIs