Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Zend_Validate_EmailAddress: IDN domains are converted to punnycode if possible #470

Merged
merged 1 commit into from
Jan 5, 2015

Conversation

mhujer
Copy link
Contributor

@mhujer mhujer commented Nov 29, 2014

Fixes #62

The problem is that IDN domain cannot be converted to xn-- in PHP 5.2 (there are some PHP libraries, that implement it, but we can't include them in ZF). So this is rather a "progressive enhacement" for PHP 5.3+ (with intl enabled)

cc @froschdesign

@froschdesign froschdesign added this to the 1.12.10 milestone Nov 29, 2014
@mhujer
Copy link
Contributor Author

mhujer commented Nov 29, 2014

(The question is wheter such "progressive enhancement" dependant on PHP version should be merged to ZF1)

@froschdesign
Copy link
Member

The question is wheter such "progressive enhancement" dependant on PHP version should be merged to ZF1

We have two options:

  • No merging == no fix == still a problem in all versions
  • Merging == fix for >=5.3 == only a problem in 5.2

@froschdesign
Copy link
Member

ping @weierophinney

@mhujer mhujer force-pushed the 62-validate-idn-email branch from aecbe58 to c7a2727 Compare December 28, 2014 13:29
@mhujer
Copy link
Contributor Author

mhujer commented Dec 28, 2014

ping @weierophinney

@weierophinney
Copy link
Member

I'm all for progressive/forwards-compat fixes. If this cannot be fixed in 5.2, I think we can just call that out in the release announcement. People on 5.2 really need to upgrade at this point anyways, and this gives another reason to do so.

@froschdesign
Copy link
Member

@weierophinney
Thanks for the feedback!

@froschdesign froschdesign removed this from the 1.12.10 milestone Jan 5, 2015
froschdesign added a commit that referenced this pull request Jan 5, 2015
Zend_Validate_EmailAddress: IDN domains are converted to punnycode if possible
@froschdesign froschdesign merged commit b32947c into zendframework:master Jan 5, 2015
@mhujer mhujer deleted the 62-validate-idn-email branch January 5, 2015 15:47
@akrabat
Copy link
Contributor

akrabat commented Jan 8, 2015

@froschdesign why did you remove the 1.12.10 milestone?

@froschdesign
Copy link
Member

@akrabat
We have already a milestone on the bug report.

@akrabat
Copy link
Contributor

akrabat commented Jan 9, 2015

aha!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zend_Validate_EmailAddress->_validateMXRecords() fails on Umlaut-Domains
4 participants