Bug 340281

Summary: konsole only recognizes the part after "+" in mail+something@mail.ext as an email address
Product: [Applications] konsole Reporter: Moviuro <moviuro+kde>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: a.samirh78, cpigat242
Priority: NOR    
Version: 2.14.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Moviuro 2014-10-24 07:55:52 UTC
Konsole usually creates mailto: links out of what is believed to be a mail address. However, it doesn't recognize addresses with a '+' in it, e.g. moviuro+kde@provider.net

Reproducible: Always

Steps to Reproduce:
1. echo 'moviuro+kde@provider.net'
2. Ctrl+click the echo-ed address

Actual Results:  
Opens mail composer for kde@provider.net

Expected Results:  
Opens mail composer for moviuro+kde@provider.net

Matching emails can be extremely complicated. Is it really out of the question to use the real regex? (http://ex-parrot.com/~pdw/Mail-RFC822-Address.html)
This would also prevent systemd services files to be seen as email addresses. (Filing an other bug for this)
Comment 1 Kurt Hindenburg 2018-02-13 23:32:50 UTC
I don't know if you are joking or not, but Konsole is not likely to use that huge regex.  I do think + is common enough to add.
Comment 2 Kurt Hindenburg 2018-02-14 02:23:15 UTC
Git commit cfa2e01543eb558e1584b0dcb963411d7836c483 by Kurt Hindenburg.
Committed on 14/02/2018 at 02:20.
Pushed by hindenburg into branch 'master'.

Fix to allow + in email names (firstname+lastname@example.com)

M  +1    -1    src/Filter.cpp

https://commits.kde.org/konsole/cfa2e01543eb558e1584b0dcb963411d7836c483