roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.89k stars 1.64k forks source link

Stop parsing links at wide "(" in text/plain parts #9538

Open jidanni opened 4 months ago

jidanni commented 4 months ago

Prerequisites

Describe the issue

When parsing a text/plain MIME part, roundcube, (and also GitHub!) turns this whole thing https://example.net/abc(哇哇) into a hyperlink, whereas Gnus is smarter, and realizes that it should stop at the (wide) parenthesis.

What browser(s) are you seeing the problem on?

No response

What version of PHP are you using?

No response

What version of Roundcube are you using?

The one on Dreamhost

JavaScript errors

No response

PHP errors

No response

alecpl commented 4 months ago

The codes are 0xFF08 (left brace) and 0xFF09 (right brace). A change to rcube_string_replacer will be needed.