Brown-University-Library / django-shibboleth-remoteuser

Middleware for using Shibboleth with Django
MIT License
94 stars 75 forks source link

shibboleth fields with UTF-8 content end up badly encoded via wsgi #95

Open olifre opened 2 years ago

olifre commented 2 years ago

We have also hit the issue detailed at: https://github.com/rdmorganiser/rdmo/issues/77 in a self-developed Django application. I could not find a better approach than the one outlined there, which requires an additional feature in this module (optionally urldecoding the fields).

@jochenklar has implemented this in: https://github.com/rdmorganiser/django-shibboleth-remoteuser/commit/e2f6cab99ddfb6dda067950807a7bdaef10693c3

I'm not sure whether the code can be upstreamed, but I believe it would be of general use :-).