##// END OF EJS Templates
hgweb: encode WSGI environment like OS environment...
hgweb: encode WSGI environment like OS environment Previously, the WSGI environment keys and values were encoded using latin-1. This resulted in a crash if a WSGI environment key or value could not be encoded using latin-1. On Unix, the OS environment is byte-based. Therefore we should do the reverse of what Python does for os.environ. On Windows, there’s no native byte-based OS environment. Therefore we should do the same as what mercurial.encoding does with the OS environment.

File last commit:

r21874:8da01b6e default
r45541:2632c1ed stable
Show More
README.md
4 lines | 80 B | text/x-minidsrc | MarkdownLexer

Run Mercurial tests with Vagrant:

$ vagrant up
$ vagrant ssh -c ./run-tests.sh