Commit 6bf771a9e98b2d2919ac2ab3071cb4e52f92e55f

Allow '%' in links.
index.php
(1 / 1)
  
168168 // FIXME: Do not apply this in <pre> and <notextile> blocks.
169169
170170 // Linkify
171 $text = preg_replace('@([^:])(https?://([-\w\.]+)+(:\d+)?(/([-\w/_\.]*(\?\S+)?)?)?)@', '$1<a href="$2">$2</a>', $text);
171 $text = preg_replace('@([^:])(https?://([-\w\.]+)+(:\d+)?(/([%-\w/_\.]*(\?\S+)?)?)?)@', '$1<a href="$2">$2</a>', $text);
172172
173173 // WikiLinkify
174174 $text = preg_replace('@\[([A-Z]\w+)\]@', '<a href="' . $SCRIPT_URL . '/$1">$1</a>', $text);