garyburd/go-oauth — Issue #1: Signatures on URLs with spaces
Author: nickoneill
Created: 2012-01-24 05:30:39+00:00
State: open

I'm having some trouble using the library to request a url with a space in the path (it's a Dropbox content url, such as https://api-content.dropbox.com/1/files/sandbox/a text file.txt). I get basic request errors if I make the oauth request without escaping the space but if I pre-escape I get errors back from the Dropbox API about an invalid base url for the signature.

If you use GetFile on a filename using this Dropbox library, https://github.com/nickoneill/go-dropbox (which uses your oauth library), you can see what I mean. I can put together an example if you don't see the issue right away.