Re: [modwsgi] Q: Double-encoded environment variables?

2022-08-17 Thread Graham Dumpleton
Can you provide a simple WSGI hello world with some Python code showing how you are checking this and what mechanism you are display it if you are? If you are looking at the Apache error logs to deduce this it can be confusing because Apache does it's own encoding on values it gets and so what

[modwsgi] Q: Double-encoded environment variables?

2022-08-17 Thread 'Albrecht Dreß' via modwsgi
Hi all, I ran into a strange issue regarding the encoding of the environment being passed to the Python3 script via def application(env, startResponse): […] as it appears to be utf-8 encoded /twice/. For testing, I added SetEnv X-Test ä to the Apache config. When I call a