Skip to content

Commit

Permalink
Merge branch 'safer-form-submissions' into deploy
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/collective/volto/formsupport/restapi/services/submit_form/post.py
  • Loading branch information
JeffersonBledsoe committed Sep 25, 2023
2 parents 92f98ae + 5b41306 commit 4598fc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def get_reply_to(self):
if field_id:
for data in self.form_data.get("data", ""):
if data.get("field_id", "") == field_id:
return data["value"]
return data.get("value", "")

return self.form_data.get("from", "") or self.block.get("default_from", "")

Expand Down

0 comments on commit 4598fc5

Please sign in to comment.