magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.57k stars 9.32k forks source link

Issue when updating customer email in Admin Panel with ö and .swiss domain #39394

Open ouwfuc opened 6 hours ago

ouwfuc commented 6 hours ago

Preconditions and environment

Magento versions tested:

Steps to reproduce

  1. Go to the Admin Panel.
  2. Navigate to Customers > All Customers and select a customer.
  3. In the Account Information section, try to update the email address to something like max@möstermann.swiss.
  4. Save the changes.

Expected result

Email address and customer saved successfully

Actual result

After attempting to save the email, the following error message is displayed at the top of the page:

Additional information

Observations:

It seems like the combination of the ö character and .swiss is causing the issue. The email address gets converted to Punycode, but it seems Magento or the underlying validation logic doesn't handle this combination correctly.

Release note

No response

Triage and priority

m2-assistant[bot] commented 6 hours ago

Hi @ouwfuc. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.

m2-assistant[bot] commented 5 hours ago

Hi @engcom-Delta. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down: