Show More
@@ -460,12 +460,9 b' class hgwebdir(object):' | |||||
460 | if real: |
|
460 | if real: | |
461 | # Re-parse the WSGI environment to take into account our |
|
461 | # Re-parse the WSGI environment to take into account our | |
462 | # repository path component. |
|
462 | # repository path component. | |
463 |
uenv = |
|
463 | uenv = { | |
464 | if pycompat.ispy3: |
|
464 | k.decode('latin1'): v for k, v in req.rawenv.items() | |
465 |
|
|
465 | } | |
466 | k.decode('latin1'): v |
|
|||
467 | for k, v in pycompat.iteritems(uenv) |
|
|||
468 | } |
|
|||
469 | req = requestmod.parserequestfromenv( |
|
466 | req = requestmod.parserequestfromenv( | |
470 | uenv, |
|
467 | uenv, | |
471 | reponame=virtualrepo, |
|
468 | reponame=virtualrepo, |
General Comments 0
You need to be logged in to leave comments.
Login now