(rt2) url splitting in ticket history/content

Hi,

Where are the rules that rt2 uses to decide how to encode a URL when
entered via email or the GUI such that it converts it into an actual
hypertext reference? We’ve got a problem whereby when particularly long
URL’s are entered into a ticket, they’re split incorrectly and therefore
lose their “clickability” for most browsers.

Obviously, some of this is up to specific mail clients which may perform
line breaks on long lines in inappropriate places, but I suspect that
there’s still something in RT or one of the associated perl modules that
may help reconstruct this into a more complete URI.

Any suggestions appreciated!

Scott