projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a35dd1d
)
Tighten page name regex to not allow carriage returns or line feeds
author
Josh Triplett
<josh@freedesktop.org>
Sun, 10 Feb 2008 06:53:28 +0000
(22:53 -0800)
committer
Josh Triplett
<josh@freedesktop.org>
Sun, 10 Feb 2008 06:53:28 +0000
(22:53 -0800)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index a81dcfd6ea173a840a8c9a9ff4d13193110f99b0..1091ca8728ee94af5378247a409a9d6e0c45e552 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-44,7
+44,7
@@
sub defaultconfig () { #{{{
\| # followed by '|'
)? # optional
- ([^\
]#]+)
# 2: page to link to
+ ([^\
n\r\]#]+)
# 2: page to link to
(?:
\# # '#', beginning of anchor
([^\s\]]+) # 3: anchor text