Summary | Text_Filter_text2html trips up when links are surrounded in angle brackets |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | chuck (at) horde (dot) org |
Created | 01/27/2007 (6737 days ago) |
Due | |
Updated | 12/05/2007 (6425 days ago) |
Assigned | 10/01/2007 (6490 days ago) |
Resolved | 12/05/2007 (6425 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Jan Schneider
Taken from
State ⇒ Resolved
State ⇒ Assigned
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Text_Filter_text2html trips up when links are surrounded in angle brackets
Queue ⇒ Horde Framework Packages
State ⇒
<http://css.maxdesign.com.au/listamatic/>;
results in:
<<a href="http://css.maxdesign.com.au/listamatic/index.htm>";
target="_blank">http://css.maxdesign.com.au/listamatic/index.htm></a>;;
because the <> are encoded before links are found, and & is legal
inside urls, so we match up to the ; when linkifying. Possible
solution: find urls, then call htmlspecialchars(), then replace
previously found urls with their linked replacements.