-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[User management] International email addresses aren't valid #13586
Comments
@SergioBertolinSG is the php module intl installed and enabled? |
Yes it is installed and enabled, version 1.1.0 |
which email address did you try? |
bjö[email protected] españ[email protected] that kind of addresses |
hehe - even github fails to parse these emails properly 🙊 |
So it is not that hard to fix owncloud accepting the e-mail. |
swiftmailer is used from 8.1 on - this issue was filed as we did use phpmailer.
I really question if these are valid email addresses - I did a quick research back in January and idn is specified for the domain - but for the user part: ???? |
RFC 6530, RFC 6531, RFC 6532 and RFC 6533 talks about this. |
Thanks for your input @SergioBertolinSG - we shall reevaluate this in oc8.1 - because we switched over to swiftmailer |
@SergioBertolinSG Can you retest with 8.1 alpha3 ? |
Still happening in 8.1 alpha3. |
@nickvergessen wana have a look? THX |
Not a lot we can do I guess. Swift says the email is invalid: or does swift have some kind of config for this? @LukasReschke |
thx @nickvergessen - let's file an issue upstream - can you please take care? THX |
THX @nickvergessen |
let's move this to 8.2 |
It has been fixed upstream in SwiftMailer 6.0 which is backwards incompatible and uses a thirdparty to validate the emails. |
@nickvergessen @DeepDiver1975 how to move forward with this ? |
swiftmailer 6.0 is no yet released - we have to postpone this until it has been release -> 9.0 |
we could update the lib on master as we intend to only support PHP >= 7.0 (or 7.1?) in the upcoming major OC version 10.1 |
@DeepDiver1975 will dependabot find this or do we need to update master's composer.json file to have 7.0 as minimum ? ^ |
should we then disable email validation or something ? |
swift mailer was updated for master here #29943, so with a bit of luck this will work now. will assign to QA for verifying |
a simple unit test shall help to verify ..... |
PR open - unit test shows that this is working now -> close as soon as merged |
…ion-intl [stable10] Test email verification with international email address - fixes #13586
Steps to reproduce
Using an admin user:
Activate send email to new users checkbox
Expected behaviour
International email addresses are allowed.
Actual behaviour
International email addresses (with Ñ,Ö,Ç..) are invalid.
Server configuration
Operating system:
Ubuntu 14.04 LTS
Web server:
Apache
Database:
MySQL
PHP version:
5.5.9
ownCloud version: (see ownCloud admin page)
{"installed":true,"maintenance":false,"version":"8.0.0.1","versionstring":"8.0 alpha 1","edition":""}
Updated from an older ownCloud or fresh install:
fresh
List of activated apps:
none
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: no
Client configuration
Browser:
Chrome, Firefox
The text was updated successfully, but these errors were encountered: