View Issue Details

IDProjectCategoryView StatusLast Update
0005264mantisbtprintingpublic2005-04-18 10:27
Reporterandimeier1 Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version0.19.2 
Summary0005264: URL linkifying not correct
Description

When I include an URL in the bug description which contains HTTP parameters, e.g.
http://www.server.com/view.php?id=2449

then it is displayed as
http://www.server.com/view.php [^]?id=2449

ie, the HTTP parameter "id=2449" is not included in the link. Thus, the link is not "executable" by a person who views the bug.

Additional Information

Looks like the culprit is the regex at the beginning of the function string_insert_hrefs() in core/string_api.php, line 295, which does not take into account special constructions like HTTP parameters

TagsNo tags attached.

Relationships

duplicate of 0004962 closedbpfennig URL not parsing after ? in any link 

Activities

andimeier1

andimeier1

2005-02-20 15:58

reporter   ~0009354

Hm, I was not aware, that my example will get linkified too, and so my point may not be clear when you look at the bug description, here's what I'm complaining about in Pseudo-HTML ;)

"There is a bug an the page H_T_T_P://www.server.com/view.php?id=2449"

This description will be displayed as:

"There is a bug an the page H_T_T_P://www.server.com/view.php [^]?id=2449"

This means, that the part between the angle brackets is getting linkified, and the HTTP parameter (id=2449) gets cut off from the URL and is behind the "open in separate window" link.