I am using Node.js and Express.js 3.x.
As one of our authorization headers, we pass the username. Some of our usernames contain umlaut characters: ü ö ä and the like. For usernames with "normal" characters, everything works fine. But when jörg tries to make a request, the server does not recognize the umlaut symbol in the header.
Trying to mimic problem I:
- Some tests have been created that set the username header with the umlaut symbol. These tests pass, they can pass correctly in umlaut.
- The extensions "postman" and "advanced rest client" Chrome used and made a request manually on the server - in this case it failed. I saw that the server cannot recognize the umlaut symbol, does it interpret it as a kind
? .
Is there a restriction on custom HTTP header character values that prohibit the use of these characters? Any idea why this will work in tests, but not from my browser extension? Am I forgetting to set a character set somewhere?
samz
source share