#18 new
Tomas

Signature in URL with spaces

Reported by Tomas | August 12th, 2011 @ 09:55 PM

When sending a request to dropbox.com for an URL with spaces embedded (https://api.dropbox.com/0/metadata/dropbox/Junk for bro's?...) I get an error saying:
"Error downloading https://api.dropbox.com/0/metadata/dropbox%2FJunk%20for%20bro%27s?o... - server replied: Forbidden" "{"error": "Invalid signature. Expected signature base string: GET&https%3A%2F%2Fapi.dropbox.com%2F0%2Fmetadata%2Fdropbox%25252FJunk%252520for%252520bro%252527s&oauth_consumer_key%...(cut)

But qoauth uses signatureBaseString:
GET&https%3A%2F%2Fapi.dropbox.com%2F0%2Fmetadata%2Fdropbox%252FJunk%2520for%2520bro%2527s&oauth_consumer_key...(cut)

Notice the %252520 vs %2520

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

QOAuth is a Qt-based C++ library providing means for communicating with services supporting OAuth authorization scheme.

Shared Ticket Bins

People watching this ticket

Pages