View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002976 | mantisbt | bugtracker | public | 2003-02-20 12:32 | 2003-12-13 04:45 |
| Reporter | vboctor | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | git trunk | ||||
| Summary | 0002976: Incorrect handling of URLs | ||||
| Description | Mantis detects urls and hyperlink them to the address. This works fine when the address is included within the text: http://www.hotmail.com. However, the problem is when you have a url following by an empty line: the above address will be incorrect. | ||||
| Tags | No tags attached. | ||||
|
hmm... it looks correct to me... what is incorrect about it? |
|
|
Yes, it is working in this version, but in the cvs head version at home, it is not working properly. |
|
|
Fixed in CVS. Will be included in 0.18.0a3. The problem was that the '(smallerthan)br' was consider part of the link. |
|
|
MantisBT: master 5b261624 2003-02-20 20:40 Details Diff |
M core/string_api.php M doc/ChangeLog - Fix 0002976: Incorrect handling of URLs. The problem was that when a url is at the end of a line, the string insert hrefs function takes the url as "http://www.hotmail.com<br". This was fixed by excluding the < from the valid characters of the link. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1982 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0002976 |
|
| mod - doc/ChangeLog | Diff File | ||
| mod - core/string_api.php | Diff File | ||