View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006576 | mantisbt | bugtracker | public | 2006-01-10 09:32 | 2006-02-04 05:44 |
Reporter | astrolox | Assigned To | ryandesign | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 0.19.4 | ||||
Summary | 0006576: Upper case (Capitol) letters break HTML Links | ||||
Description | With the html_make_links feature turned ON all URLs in descriptions, etc are meant to be made clickable links. However only part of the URL is detected and made clickable if the link has a capitol letter in it (very common when linking to a wiki ). | ||||
Additional Information | Example: http://en.wikipedia.org/wiki/Main_Page Fix: On line 295 of file core/string_api.php change add A-Z next to a-z inside the regular expression. Diff file attached. | ||||
Tags | No tags attached. | ||||
Attached Files | string_api.php.diff (245 bytes)
295c295 < $p_string = preg_replace( '/([http|irc|ftp|https]{2,}:\/\/([a-z0-9_-]|\/|\@|:{0,1}\.{0,1}){1,})/', --- > $p_string = preg_replace( '/([http|irc|ftp|https]{2,}:\/\/([a-zA-Z0-9_-]|\/|\@|:{0,1}\.{0,1}){1,})/', | ||||
duplicate of | 0005220 | closed | grangeway | url parser makes a few mistakes |
related to | 0006583 | closed | ryandesign | URL handling is broken. |