Bug 340285

Summary: Konsole wrongly recognizes systemd service files as emails
Product: [Applications] konsole Reporter: Moviuro <moviuro+kde>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: a.samirh78, cpigat242
Priority: NOR    
Version: 2.14.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Moviuro 2014-10-24 08:07:11 UTC
Files ending in .service, .target, .timer, .path with a '@' in them are falsely recognized as email addresses.
Since systemd is becoming quite the common thing, I think it's not completely weird to (in case you don't try using http://ex-parrot.com/~pdw/Mail-RFC822-Address.html) blacklist those extensions from email recognition.

Reproducible: Always

Steps to Reproduce:
1. touch myservice@myvariable.service
2. ls
3. Ctrl + click myservice@myvariable.service

Actual Results:  
Opens mail composer for myservice@myvariable.service

Expected Results:  
Nothing
Comment 1 Ahmad Samir 2018-02-14 12:49:31 UTC
I don't think this bug can be fixed; those are _valid_ email addresses; there could be a domain out there with a .service, .target, whatever, in its name. If those are blacklisted it would be wrong...

IMHO, as long as it's a technically valid email address there's nothing konsole can do.