CONPLT-11 fix url-encoding of domain ids that have a space in them