<code>normalizeUrl</code> uses passed value as temporary, so it'l be necessary to make copy anyway.