OpenTreeMap is a collaborative platform for crowdsourced tree inventory, ecosystem services calculations, and community engagement. OpenTreeMap is a project of Azavea and Urban Ecos.
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.
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.