Use regex to replace trailing slashes from browser-policy URLs.

Thanks glasser!