WL-2670 Trim trailing whitespace on URLs.