-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
There is an error while click on "resend confirmation mail". The mail address will transfered without special chars like "+". This is important for the new gmail feature which provides simply adding aliases.
Preconditions
- Magento 2.1.2
- Enable Double-OptIn Mails for Customer Registration
Steps to reproduce
- Register as a new Customer with email like "[email protected]" (customer/account/create/)
- After Redirect to customer/account/login/ click on "Resend Confirmation Link"
Actual Result
- This redirect to customer/account/confirmation/email/[email protected]/ - The Parameter email in url is not urlencoded, so the param is missing in the input field.
Parameter on this page in input field is now "firstname.lastname [email protected]" without the plus
Expected result
- Click on "Resend Confirmation Link"
- Get URL encoded mail in input field on customer/account/confirmation/email/firstname.lastname%[email protected]/
so Parameter in input field is with "+" char e.g. "[email protected]"
Solution
Bug can solved simply adding "_query" in htdocs/vendor/magento/module-customer/Model/Url.php:221
return $this->urlBuilder->getUrl('customer/account/confirmation', array('_query' => ['email' => $email]));
Metadata
Metadata
Assignees
Labels
Issue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed