summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-24 12:56:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-24 12:56:50 +0000
commit5b4a9ac3b3aaa80bbdfb527f1b1401d93e788471 (patch)
tree7f6b6f9a70205992311f1b40dfc2f95f6b46274d /lib
parentdfca67d844ca10498e1e4e4834117bc390696d46 (diff)
downloadredmine-5b4a9ac3b3aaa80bbdfb527f1b1401d93e788471.tar.gz
redmine-5b4a9ac3b3aaa80bbdfb527f1b1401d93e788471.zip
Restricts characters before auto links (#10277).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11474 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/wiki_formatting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting.rb b/lib/redmine/wiki_formatting.rb
index 2a3023a09..9a62bf6b8 100644
--- a/lib/redmine/wiki_formatting.rb
+++ b/lib/redmine/wiki_formatting.rb
@@ -86,7 +86,7 @@ module Redmine
AUTO_LINK_RE = %r{
( # leading text
<\w+.*?>| # leading HTML tag, or
- [^=<>!:'"/]| # leading punctuation, or
+ [\s\(\[,;]| # leading punctuation, or
^ # beginning of line
)
(