Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
3517d7fc
Commit
3517d7fc
authored
Jan 15, 2004
by
kiko%async.com.br
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 194290: irc:// links are not highlighted as links. Adds irc
to the list of supported protocols in quoteUrls(). Patch by Emmanuel Bourg <smanux@lfjr.net>, r=kiko, a=justdave.
parent
014efe4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
globals.pl
globals.pl
+1
-1
No files found.
globals.pl
View file @
3517d7fc
...
...
@@ -888,7 +888,7 @@ sub quoteUrls {
my
$tmp
;
# non-mailto protocols
my
$protocol_re
=
qr/(afs|cid|ftp|gopher|http|https|mid|news|nntp|prospero|telnet|view-source|wais)/
i
;
my
$protocol_re
=
qr/(afs|cid|ftp|gopher|http|https|
irc|
mid|news|nntp|prospero|telnet|view-source|wais)/
i
;
$text
=~
s
~\
b
(
$
{
protocol_re
}:
# The protocol:
[
^\
s<>\"]+ # Any non-whitespace
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment