OpenTreeMap / otm-legacy

OpenTreeMap is a collaborative platform for crowdsourced tree inventory, ecosystem services calculations, and community engagement. OpenTreeMap is a project of Azavea and Urban Ecos.
www.opentreemap.org
Other
124 stars 59 forks source link

Force CONTACT_EMAILS into a tuple #175

Closed steventlamb closed 10 years ago

steventlamb commented 10 years ago

to fix a mutable state bug. settings is an immutable object, but settings.CONTACT_EMAILS was a list. Over the lifetime of the appserver process, this list was being mutated to contain ALL senders. This was causing all users that have used the contact form and requested a copy, to get EVERYONE's copy.

ahinz commented 10 years ago

+1