Skip to content

Conversation

zachgarwood
Copy link
Contributor

Currently, the doc block states that "keys and values are URL encoded as per encode/2" when they are actually encoded using encode_www_form/1.

I made this clarification and also added an example to demonstrate that the resulting params' spaces are replaced with + instead of %20, as would be the case with encode/2.

Currently, the doc block states that "keys and values are URL encoded as
per `encode/2`" when they are actually encoded using
`encode_www_form/1`.
ericmj added a commit that referenced this pull request Mar 6, 2016
…ery-1-doc

Minor correction to URI.encode_query/1's doc block
@ericmj ericmj merged commit f147ba7 into elixir-lang:master Mar 6, 2016
@ericmj
Copy link
Member

ericmj commented Mar 6, 2016

Thank you!

@josevalim
Copy link
Member

❤️ 💚 💙 💛 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants