Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Gevent, unlike Flask, incorrectly handles proxy requests (where the WSGI server operates as a proxy).

43 views
Skip to first unread message

Tim Abdiukov

unread,
Jul 22, 2024, 7:22:17 PM7/22/24
to gevent: coroutine-based Python network library

Gevent, unlike Flask, incorrectly handles proxy requests (where the WSGI server operates as a proxy).

The bug manifests itself in `request.url`, where the URL is clearly bugged, but may also affect other logic

```
Expected: http://frogfind.com/hello/?q=foobar
Reality: http://frogfind.com/http://frogfind.com/hello/?q=foobar
```

Note: The URL is correct in stdout, but incorrect in the variable.

Please see my Proof of Concept: https://github.com/TAbdiukov/gevent-bug-PoC

Best regards,
Tim Abdiukov

Reply all
Reply to author
Forward
0 new messages