| Why aren't query parameters being percent encoded when using Uri.toString | Zack Angelo | 25/05/14 16:32 | I'm using this snippet of code to construct a Uri:
The Uris are being generated, but the redirect_uri query parameter isn't being percent-encoded. Is there another method I should be using besides .toString() to get the encoded form of the query parameters? Just to give a bit of context, I'm sending authorizeUri out to a redirect. But when I inspect the response using curl, the redirect_uri parameter in the Location header and body isn't encoded there, either. |
| Re: [spray-user] Why aren't query parameters being percent encoded when using Uri.toString | Mathias | 26/05/14 03:15 | Zack,
for most things URI-related spray follows RFC3986 (http://tools.ietf.org/html/rfc3986), which doesn’t require any percent encoding in your example. What output would expect? Cheers, Mathias --- mat...@spray.io http://spray.io > -- > You received this message because you are subscribed to the Google Groups "spray.io User List" group. > To unsubscribe from this group and stop receiving emails from it, send an email to spray-user+...@googlegroups.com. > Visit this group at http://groups.google.com/group/spray-user. > To view this discussion on the web visit https://groups.google.com/d/msgid/spray-user/6c8b9dd1-8831-4c52-9f6c-db4d4aa96c9a%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. |