[LMP] Encode passed URLs.