WMS filter: hardenning the error mgmt when parsing the URI