Fix a bug where CPURL was not encoding self._baseURL and self._string