OSDN Git Service
(root)
/
fswiki
/
fswiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BugTrack-plugin/424 : ページ名チェック処理の外部化対応(標準検証分のみ)
[fswiki/fswiki.git]
/
lib
/
Wiki.pm
diff --git
a/lib/Wiki.pm
b/lib/Wiki.pm
index
8b0fd7b
..
33862c9
100644
(file)
--- a/
lib/Wiki.pm
+++ b/
lib/Wiki.pm
@@
-1417,7
+1417,7
@@
sub save_page {
my $sage = shift;
# ¥Ú¡¼¥¸Ì¾¤ò¥Á¥§¥Ã¥¯
- if(
$pagename =~ /([\|\[\]])|^:|([^:]:[^:])/
){
+ if(
!Util::check_pagename($pagename)
){
die "¥Ú¡¼¥¸Ì¾¤Ë»ÈÍѤǤ¤Ê¤¤Ê¸»ú¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£";
}
# ¤¤¤Ã¤¿¤ó¥Ñ¥é¥á¡¼¥¿¤ò¾å½ñ¤