Use urlencode instead of pure formatting