anonymousland-synapse/synapse/federation
Shay 70ce9aea71
Strip unauthorized fields from unsigned object in events received over federation (#11530)
* add some tests to verify we are stripping unauthorized fields out of unsigned

* add function to strip unauthorized fields from the unsigned object of event

* newsfragment

* update newsfragment number

* add check to on_send_membership_event

* refactor tests

* fix lint error

* slightly refactor tests and add some comments

* slight refactor

* refactor tests

* fix import error

* slight refactor

* remove unsigned filtration code from synapse/handlers/federation_event.py

* lint

* move unsigned filtering code to event base

* refactor tests

* update newsfragment

* requested changes

* remove unused retun values
2022-01-06 09:09:30 -08:00
..
sender Add most of the missing type hints to synapse.federation. (#11483) 2021-12-02 16:18:10 +00:00
transport Improve opentracing for incoming HTTP requests (#11618) 2021-12-20 17:45:03 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
federation_base.py Strip unauthorized fields from unsigned object in events received over federation (#11530) 2022-01-06 09:09:30 -08:00
federation_client.py Refactor the way we set outlier (#11634) 2022-01-05 12:26:11 +00:00
federation_server.py Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common #11505 (#11687) 2022-01-05 11:41:49 +00:00
persistence.py Add most of the missing type hints to synapse.federation. (#11483) 2021-12-02 16:18:10 +00:00
send_queue.py Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
units.py Convert Transaction and Edu object to attrs (#10542) 2021-08-06 09:39:59 -04:00