View Issue Details

IDProjectCategoryView StatusLast Update
0022901mantisbthtmlpublic2017-05-20 09:09
Reporterscrsc Assigned Todregad  
Status acknowledgedResolutionopen 
Summary0022901: URL with brackets is not correctly "maked" (with Kibana)

With g_html_make_links the http URLs are automatically replaced with <a href ...> and </a>

But for this (valid) URL the detection for URL end is not correct:;_a=(columns:!(_source),index:'deve-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'*')),sort:!('@timestamp',desc))
(URL is generated by kibana Version: 5.1.1)

Should be complete href'ed but stops before "(columns".

TagsNo tags attached.




2017-05-19 06:32

reporter   ~0056906

Ok. Just see with the Mantis 2.4.0 it is working...



2017-05-19 06:33

reporter   ~0056907


With Mantis 2.4.0 the last two "))" are not considered to be in the URL.



2017-05-19 06:37

reporter   ~0056908

See picture what 2.4.0 shows and what our mantis version shows.



2017-05-20 08:49

developer   ~0056917

Last edited: 2017-05-20 09:09

View 2 revisions

The difference in behavior is due to our use of Markdown in the Core Formatting plugin. When Markdown is disabled, I see the same problem with URL highlighting in your first screenshot.

So there seems in fact to be 2 distinct issues:

  • native URL processing needs to be improved, (update the regex in string_insert_hrefs() function)
  • URL processing in ParseDown library

EDIT: Parsedown issue reported upstream

Issue History

Date Modified Username Field Change
2017-05-19 06:32 scrsc New Issue
2017-05-19 06:32 scrsc Note Added: 0056906
2017-05-19 06:33 scrsc Note Added: 0056907
2017-05-19 06:37 scrsc File Added: 2017-05-19 12_33_41-0022901_ URL with brackets is not correctly _maked_ (with Kibana) - MantisBT.png
2017-05-19 06:37 scrsc File Added: 2017-05-19 12_35_06-0593824_ Mantis erstellt falschen URL Link - MantisBT@RSC (live).png
2017-05-19 06:37 scrsc Note Added: 0056908
2017-05-20 08:49 dregad Assigned To => dregad
2017-05-20 08:49 dregad Status new => acknowledged
2017-05-20 08:49 dregad Note Added: 0056917
2017-05-20 09:09 dregad Note Edited: 0056917 View Revisions