0004-url-matching.patch

Patch to match all possible protocols, yet breaking some other matches. - Christoph Rauch, 2010-01-05 15:21

Download (715 Bytes)

View differences:

lib/redmine/wiki_formatting/textile/formatter.rb
135 135
                          ^                        # beginning of line
136 136
                        )
137 137
                        (
138
                          (?:https?://)|           # protocol spec, or
139
                          (?:s?ftps?://)|
138
                          (?:\w+://)|              # protocol spec, or
140 139
                          (?:www\.)                # www.*
141 140
                        )
142 141
                        (