Merge pull request #5510 from johndekroon/develop

Only use the output of idn_to_ascii() if it worked properly
2 files changed