Commit graph

8 commits

Author SHA1 Message Date
Ville Skyttä
b52c5c82b1
Use http.HTTPStatus in components/[gh]* () 2021-10-23 20:34:53 +02:00
Paulus Schoutsen
38a7bdbcf3
Do not process forwarded for headers for cloud requests () 2021-08-10 01:45:56 +02:00
Joakim Plate
d339e3bd8c
Reject trusted network access from proxies () 2021-07-02 11:49:42 +02:00
Joakim Plate
eedf1c3ebe
Reject requests from the proxy itself ()
* Reject requests from the proxy itself

* Adjust tests
2021-06-27 19:02:51 +02:00
Franck Nijhof
33e08f38da
Raise bad request when receiving HTTP request from untrusted proxy ()
* Raise bad request when receiving HTTP request from untrusted proxy

* Fix code comment
2021-06-17 04:41:19 +02:00
Franck Nijhof
cdd1f6b2f0
Always load middle to handle forwarded proxy data () 2021-06-01 09:38:55 -07:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Franck Nijhof
cc4ebc925c
Improve X-Forwarded-* request headers handling ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-08-11 22:57:50 +02:00