https://bugs.kde.org/show_bug.cgi?id=202445
Summary: incorrect http-url detection, query part ending too
soon
Product: kmail
Version: unspecified
Platform: SuSE RPMs
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: [email protected]
ReportedBy: [email protected]
Version: (using KDE 4.2.98)
OS: Linux
Installed from: SuSE RPMs
KMail tries to detect Url's inside of mail bodies and make them clickable.
There is an error in parsing the query part of an HTTP url. I found this while
working with Typo3, there you find the character "[" and "]" inside of the
query part. E.g.:
http://localhost/index.php?id=7&tx_srfeuserregister_pi1[rU]=350&tx_srfeuserregister_pi1[cmd]=setfixed
Unfortunately KMail only detects the Url until the "[" character.
RFC 3986 says:
>3.4. Query
> The query component contains non-hierarchical data that, along with
> data in the path component (Section 3.3), serves to identify a
> resource within the scope of the URI's scheme and naming authority
> (if any). The query component is indicated by the first question
> mark ("?") character and terminated by a number sign ("#") character
> or by the end of the URI.
So almost everything is legal inside the query part.
A similar bug, already closed, is BUG 81281
I would be happy if you could change the detection behavior to become
compatible to RFC 3986.
Thanks Jens
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs