Issue #3174349 by quietone, itaran, dww, Kristen Pol: file_url_transform_relative() cannot handle URLs where the port is different from the site's request port
mentioned in commit 70813f2e
mentioned in commit 9a4f58da