Menu

Commit [r9377]  Maximize  Restore  History

web: report a readable error when PATH_INFO is not UTF-8 encoded.

There might be circumstances when it's not, either because the client sends a non-UTF-8 request or because the server does some normalization (e.g. 'mbcs'). Supporting these corner cases is not worth the extra complexity, not to mention we don't have such a setup for testing, se we'd likely get it wrong anyway.

Closes #3663.

cboos 2010-03-21

changed /trunk/trac/tests/functional/testcases.py
changed /trunk/trac/web/api.py
/trunk/trac/tests/functional/testcases.py Diff Switch to side-by-side view
Loading...
/trunk/trac/web/api.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB