Quote URLs. Fixes #145.
Encode URLs for the GistHandler
Merge pull request #146 from rgbkrk/escape_in_dir

Quote URLs. Fixes #145.