Updated urlPath validation to allow relative paths