Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FormEncodingBuilder to be consistent with browsers. #1714

Merged
merged 1 commit into from
Jun 21, 2015

Conversation

swankjesse
Copy link
Collaborator

Right now we're using the same encode set as the URL query; that's a mistake.

Right now we're using the same encode set as the URL query; that's a mistake.
@@ -256,10 +256,11 @@
private static final char[] HEX_DIGITS =
{ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
static final String USERNAME_ENCODE_SET = " \"':;<=>@[]^`{}|/\\?#";
static final String PASSWORD_ENCODE_SET = " \"':;<=>@[]\\^`{}|/\\?#";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The \\ was duplicated!

JakeWharton added a commit that referenced this pull request Jun 21, 2015
Fix FormEncodingBuilder to be consistent with browsers.
@JakeWharton JakeWharton merged commit 062435c into master Jun 21, 2015
@swankjesse swankjesse deleted the jwilson_0620_form_encoding branch June 21, 2015 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants