Urlencoding of the parameters is now necessary, this will allow for proper replacement when we assemble the sparql query.