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
Encoding of http basic passwords #362
Comments
From roth.ben...@gmail.com on November 23, 2012 07:12:46 Additional info: |
From johan.ha...@gmail.com on November 27, 2012 11:37:19 Interesting! As a work-around try using auth().preemptive().basic(..) and see if you run into the same error. Thanks for reporting. Status: Accepted |
From roth.ben...@gmail.com on November 27, 2012 12:10:31 I already did try that. The result is the same. |
From johan.ha...@gmail.com on December 05, 2012 13:12:00 Alright, I'll look into to it when I find time. Feel free to help out if you like. |
The Lines 26 to 39 in 2389456
It seems that more and more tools are moving to UTF-8 (I have tried
So maybe an option could be added to Rest-Assured in order to control the desired encoding? |
From roth.ben...@gmail.com on November 23, 2012 16:05:14
What steps will reproduce the problem? 1. Use an umlaut for a password. example:
given().
auth().basic("someUser", "äöüß").
expect().
statusCode(200).
when().
post("/someUrl"); What is the expected output? What do you see instead? I would like an option to set the character encoding of the authentication credentials. I have already set the encoderConfig and decoderConfig to use UTF-8 as the default content charset.
I couldnt find an appropriate option yet. What version of the product are you using? On what operating system? Rest Assured 1.7
Operating system Windows 7
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=208
The text was updated successfully, but these errors were encountered: