Hi, this patch moves the common pattern of encoding URLs to a dedicated function. Hannes