Allow for space chars in url path.
Merge pull request #373 from MastodonC/feature/types-with-spaces-fix

Allow for space chars in url path.