move Url to platform - avoid raw string
(cherry picked from commit b671219)