| Summary: | URL parsing in text adds extraneus characters giving invalid URL | ||
|---|---|---|---|
| Product: | [Unmaintained] kmail | Reporter: | Andrey Borzenkov <arvidjaar> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | kde, martin |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Mandriva RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andrey Borzenkov
2009-10-30 16:08:13 UTC
confirming this issue The problem is: a plain text mail has no definition of a delimiter of an URL. The parsing was changed in august to solve other bugs (e.g. bug 202445, bug 201900) Also "," (comma) is a valid character in a URL, so stripping it would simply be wrong. see also http://tools.ietf.org/html/rfc3986#appendix-A and appendix-C Well ... there is also such thing as common sense. How likely is to get URL that ends with comma? I'd say if you see URL that ends with a comma followed by space in a message text, in 99% this comma is not part of URL. In bugs you quoted you had punctuation characters followed by non-space; it is slightly different. Having some heuristic that covers common cases and check button to turn it off for purists would be nice. |