phpList / phplist3

Fully functional Open Source email marketing manager for creating, sending, integrating, and analysing email campaigns and newsletters.
https://www.phplist.org
GNU Affero General Public License v3.0
734 stars 268 forks source link

Escape single quote in error message returned by allowMessageToBeQueued() #1003

Closed bramley closed 3 months ago

bramley commented 8 months ago

Description

The error message returned by a plugin from allowMessageToBeQueued() needs to have any single-quote character escaped because it is within a javascript literal.

Related Issue

Screenshots (if appropriate):

michield commented 7 months ago

Didn't test, but makes sense, so fine to merge

phpListDockerBot commented 3 months ago

This pull request has been mentioned on phpList Discuss. There might be relevant details there:

https://discuss.phplist.org/t/3-6-15-release-candidate-is-available-for-testing/9473/1

phpListDockerBot commented 3 months ago

This pull request has been mentioned on phpList Discuss. There might be relevant details there:

https://discuss.phplist.org/t/phplist-3-6-15-has-been-released/9495/1