saguiitay / DropboxRestAPI

Dropbox REST API client in C#
MIT License
46 stars 38 forks source link

Path with "&" and "+" #5

Closed B0R1K closed 9 years ago

B0R1K commented 9 years ago

Hi , thank you again for great API.

  1. if i have path with "&", it fails, if i encoded create and encoded Version...
  2. path with "+" gets converted to " ".

It seems its a problem with HttpValueCollection with URI.EscapeDataString...

Borik

B0R1K commented 9 years ago

File: Utils\HttpUtility.cs Class: HttpValueCollectionExtensions Function: ToQueryString

change From : Uri.EscapeUriString(kvp.Value) To Uri.EscapeDataString(kvp.Value)

Boris