Fix WMS url parser