Please sign in to comment.
Encode text message in editor (#362)
The text message in the editor was not properly encoded, when the data was rendered a second time (and edited) this resulted in the browser transmitting HTML special characters instead of the encoded versions. Thus breaking stuff that relied on special characters such as URLs containing `¤`. To reproduce this: 1. Enable the manual text editor (define('USE_MANUAL_TEXT_PART',1);) 2. Enter the following message as text: "https://firstname.lastname@example.org&cmd=_donations&amount=0&item_name=DEEPclearing&lc=en_US¤cy_code=DKK"3. Go to the next section 4. Go back to "Text" and see it broken (since it's double encoded) Fixes https://discuss.phplist.org/t/url-for-paypal-donation-destroyed-in-text-message-window/3517 Signed-off-by: Xheni Myrtaj <email@example.com>
- Loading branch information...