You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users with Arabic keyboards are getting validation errors because their email addresses contain hidden RTL (Right-to-Left) Unicode characters. These invisible characters are messing up the hostname checks. Below is the stack trace
1. Enable Arabic keyboard input on your system
2. Open browser's developer tools (F12)
3. Go to your site's registration page
Test Case 1 - Direct RTL Input
1. Fill registration form with:
- Name: Any name
- Email: Type "[email protected]" with Arabic keyboard active
- Other required fields
2. Submit form
3. Expected error: "checkdnsrr(): Argument #1 ($hostname) cannot be empty"
Test Case 2 - Copy/Paste from RTL Source
1. Copy this email: "[email protected][U+202C][U+200F]"
(Note: This contains hidden RTL marks)
2. Paste into registration form
3. Submit form
4. Check security.log for: "empty toAscii hostName"
1. Open browser's developer tools
2. Go to Network tab
3. Submit form
4. Look for the failed request
5. Check request payload - you'll see the hidden RTL characters in the email
Real examples from your logs:
Email with RTL marks: [email protected][U+202C][U+200F]
Email with RTL marks: [U+202C][U+200F][email protected][U+202C][U+200F]
Environment
- OpenMage:
- php:
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
Current Behavior
Users with Arabic keyboards are getting validation errors because their email addresses contain hidden RTL (Right-to-Left) Unicode characters. These invisible characters are messing up the hostname checks. Below is the stack trace
Expected Behavior
Clean the email address before validating.
Steps To Reproduce
Here's how to replicate the RTL email issue:
Real examples from your logs:
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: