in reply to Re^2: decoding a url
in thread decoding a url

use URI, URI::URL