BCCVL-333: encodeURIComponent for params