issue #230 - cater for WMS urls without ? in the end