Characters in URL's are getting replaced by HTML entities

Created on 22 March 2015, about 10 years ago
Updated 6 February 2025, 3 months ago

campaignmonitor_admin_settings_list_edit_validate() calls check_plain() on the UnsubscribePage and ConfirmationSuccessPage URL's. This causes characters being replaced by HTML entities, ie. & becomes &. After saving a list's settings a few times through the Drupal UI, a URL may become ie. http://domain.tld/node/123?test&456.

A solution might be to check the URL's on form validation and not call check_plain() on these URL's.

BTW: campaignmonitor_admin_settings_list_create_form_validate() does not call check_plain() on any option at all.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇳🇱Netherlands lmeurs

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024