View Issue Details

IDProjectCategoryView StatusLast Update
1103RackTablesdefaultpublic2017-02-13 19:20
Reportercyb3rwulf Assigned Toinfrastation  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.20.6 
Target Version0.20.7Fixed in Version0.20.7 
Summary1103: BUG: detect_urls = yes => all text is interpreted as url, instead of only urls are detected as urls
DescriptionI think the "bug fix" in ticket 1023 produce this error:

If 'detect_urls' is set to 'yes' all text in comment is turned into a link. Even the one which ain't be an url!

I performed it on the demo platform, as you can see here: http://demo.racktables.org/index.php?page=object&tab=default&object_id=945

Maybe it would be more useful to use something like bbcode to mask urls?
TagsNo tags attached.

Relationships

related to 1023 closedinfrastation Default object field to allow http link to anything 
has duplicate 1181 closed Comment text turned into links 

Activities

cyb3rwulf

cyb3rwulf

2013-12-03 16:41

reporter   ~0002003

Last edited: 2013-12-03 16:46

Correction: Not all text will be converted into links. In my example I used the string 'Let's perform a simple test!' and only 'perform', 'simple' and 'test' are converted into links.

Got it! If you write a word in '...' it won't turn into an url, but without any masking it will!

Look here for another test: http://demo.racktables.org/index.php?page=object&tab=default&object_id=946
'test' test !test! "test" (test) [test]

infrastation

infrastation

2013-12-03 20:17

administrator   ~0002005

My bad.
infrastation

infrastation

2013-12-05 11:06

administrator   ~0002011

The next stable release will have this fixed. Thank you for reporting the problem.

Issue History

Date Modified Username Field Change
2013-12-03 16:38 cyb3rwulf New Issue
2013-12-03 16:41 cyb3rwulf Note Added: 0002003
2013-12-03 16:42 cyb3rwulf Tag Attached: urls
2013-12-03 16:42 cyb3rwulf Tag Attached: comment field
2013-12-03 16:42 cyb3rwulf Tag Attached: detect_urls
2013-12-03 16:45 cyb3rwulf Note Edited: 0002003
2013-12-03 16:45 adoom42 Assigned To => infrastation
2013-12-03 16:45 adoom42 Status new => assigned
2013-12-03 16:46 cyb3rwulf Note Edited: 0002003
2013-12-03 20:16 infrastation Relationship added related to 1023
2013-12-03 20:17 infrastation Note Added: 0002005
2013-12-03 20:17 infrastation Target Version => 0.20.7
2013-12-05 11:06 infrastation Note Added: 0002011
2013-12-05 11:06 infrastation Status assigned => closed
2013-12-05 11:06 infrastation Resolution open => fixed
2013-12-05 11:06 infrastation Fixed in Version => 0.20.7
2014-02-28 15:58 infrastation Relationship added has duplicate 1181
2017-02-13 19:20 infrastation Tag Detached: urls
2017-02-13 19:20 infrastation Tag Detached: comment field
2017-02-13 19:20 infrastation Tag Detached: detect_urls