Merge branch 'fix-subscription' into 'master'
Fix subscription

The subscription method contained what could be security issue, any email sent by the user would be used as a subscription request.

Fix this and add more tests.

See merge request !42
commit 96787b32421afef43078efa1f5f5295dad03f290
2 parents ed1431d + f91919f
@Aurélien Bompard Aurélien Bompard authored on 12 Nov 2015
Showing 10 changed files
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription.yaml
Too large (Show diff)
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription_mod_primary.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription_mod_secondary.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription_moderate.yaml 100644 → 0
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription_open_primary.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription_open_secondary.yaml 0 → 100644
View
src/postorius/tests/fixtures/vcr_cassettes/test_list_subscription_unknown.yaml 0 → 100644
View
src/postorius/tests/mailman_api_tests/test_subscriptions.py
View
src/postorius/tests/utils.py
View
src/postorius/views/list.py