Issue #100 [New/open] - Patch for percent-encoded URL's

Posted by andreas.riegg

Sometimes, HTTP requests contain URL's that have paths which contain percent encoded characters (e.g. "%2F" for the "/"). I came across this as I was working with Swagger UI for the testing console.

If WebIOPi receives such a request, it fails with a "not found" error. The attached patch mitigates this problem for Python 2 and 3.

So if anyone also has or gets this problem, here is a solution for that.

Andreas

Files attached