? PBF bug PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar Denitz
Denitz
11 Jul 2023

Pull Request for Issues #31768, #40571.

Summary of Changes

Currently, email subject is validated as email address, hence it's impossible to send an email with a subject like Test email for test@test.com {test}

The problem is that email subject is incorrectly validated as email address since 2006, see dec8927#diff-89c219c58287d02dd7de50360cf6656e7ab96bfd20ef065ef54db235ff12dea4R127

Current MailHelper::cleanSubject() was never used, we can use it.

Testing Instructions

Send an email with subject Test email for test@test.com {test}

Actual result BEFORE applying this Pull Request

See error

Expected result AFTER applying this Pull Request

No errors

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
1.00

cffcd5c 11 Jul 2023 avatar fix
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jul 2023
Category Libraries
avatar Denitz Denitz - open - 11 Jul 2023
avatar Denitz Denitz - change - 11 Jul 2023
Status New Pending
avatar Denitz Denitz - change - 23 Aug 2023
The description was changed
avatar Denitz Denitz - edited - 23 Aug 2023
avatar Denitz Denitz - change - 23 Aug 2023
The description was changed
avatar Denitz Denitz - edited - 23 Aug 2023
avatar Denitz Denitz - change - 23 Aug 2023
Labels Added: bug PR-4.3-dev
avatar TLWebdesign TLWebdesign - test_item - 26 Aug 2023 - Tested successfully
avatar TLWebdesign
TLWebdesign - comment - 26 Aug 2023

I have tested this item ✅ successfully on e8b28cf

Tested this using mass mailer function and send an e-mail. after patch mail was sent succesfully. before it did not send e-mail.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41138.

avatar rachelwalraven rachelwalraven - test_item - 26 Aug 2023 - Tested successfully
avatar rachelwalraven
rachelwalraven - comment - 26 Aug 2023

I have tested this item ✅ successfully on e8b28cf

Jooma 4.3 dev with PHP 8.1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41138.

avatar Magnytu2
Magnytu2 - comment - 26 Aug 2023

I have an error sending a message with or without special characters in the subject after applying the patch.
screen shot 2023-08-26 at 10 39 02


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41138.

avatar richard67
richard67 - comment - 26 Aug 2023

I have an error sending a message with or without special characters in the subject after applying the patch. screen shot 2023-08-26 at 10 39 02

@Magnytu2 This error seems not to be related to the changes in this PR. On which version of Joomla have you tested?

avatar richard67 richard67 - change - 26 Aug 2023
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 26 Aug 2023

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41138.

avatar ChrisHoefliger ChrisHoefliger - test_item - 26 Aug 2023 - Tested successfully
avatar ChrisHoefliger
ChrisHoefliger - comment - 26 Aug 2023

I have tested this item ✅ successfully on e8b28cf

Tested on localhost Joomla 4.3.4 @pbf 2023


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41138.

avatar Magnytu2
Magnytu2 - comment - 26 Aug 2023

@richard67 test Joomla 5.0 Beta 1 - php 8.1.18 - 10.5.21 MariaDB.

avatar richard67
richard67 - comment - 26 Aug 2023

@richard67 test Joomla 5.0 Beta 1 - php 8.1.18 - 10.5.21 MariaDB.

@Magnytu2 This pull request here is for the 4.3-dev branch, sou you cannot test it on a 5.0-beta1-dev.

avatar obuisard obuisard - change - 28 Aug 2023
Labels Added: ? PBF
avatar obuisard obuisard - change - 28 Aug 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-08-28 20:03:13
Closed_By obuisard
avatar obuisard obuisard - close - 28 Aug 2023
avatar obuisard obuisard - merge - 28 Aug 2023
avatar obuisard
obuisard - comment - 28 Aug 2023

Thank you @Denitz for the PR!

avatar Denitz
Denitz - comment - 29 Aug 2023

@obuisard Thank you!

Add a Comment

Login with GitHub to post a comment