use rawurlencode instead of urlencode to make sure spaces are encoded correctly in query vars. see https://github.com/GigaOM/legacy-pro/issues/4370
Merge pull request #25 from wluo/github-4370

use rawurlencode instead of urlencode to make sure spaces are encoded correctly in query vars