Summary: | URL detection in messages broken | ||
---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | Jazz Fan <jazz_fan_ts> |
Component: | UI/Message View | Assignee: | users |
Status: | RESOLVED PATCHESWELCOME | ||
Severity: | minor | CC: | jazz_fan_ts |
Priority: | P3 | ||
Version: | 3.11.0 | ||
Hardware: | PC | ||
OS: | Linux |
Description
Jazz Fan
2015-12-17 08:32:20 UTC
This is probably because the URL detector is trying to be smart to help you, but in fact that string is not even a valid URL since it lacks the protocol part. (In reply to comment #1) > This is probably because the URL detector is trying to be smart to help you, > but in fact that string is not even a valid URL since it lacks the protocol > part. Sure, I agree with your analysis. But even though the URL is invalid, it's interpretation is so, too. I guess the detector uses a regexp containing something like '\bwww\.' which is too restrictive. Protocol-less URLs are far too common and usually refer to http. So I think the detector should either except the URL from the OP or not accept any protocol-less URLs at all. |