[Pyukiwiki-cvs 0006748] CVS update: PyukiWiki-Devel/lib

Back to archive index

PyukiWiki CVS Commit pyuki****@lists*****
2012年 2月 26日 (日) 12:43:19 JST


Index: PyukiWiki-Devel/lib/wiki.cgi
diff -u PyukiWiki-Devel/lib/wiki.cgi:1.668 PyukiWiki-Devel/lib/wiki.cgi:1.669
--- PyukiWiki-Devel/lib/wiki.cgi:1.668	Sun Feb 26 12:36:13 2012
+++ PyukiWiki-Devel/lib/wiki.cgi	Sun Feb 26 12:43:19 2012
@@ -1,6 +1,6 @@
 ######################################################################
 # wiki.cgi - This is PyukiWiki, yet another Wiki clone.
-# $Id: wiki.cgi,v 1.668 2012/02/26 03:36:13 papu Exp $
+# $Id: wiki.cgi,v 1.669 2012/02/26 03:43:19 papu Exp $
 #
 # "PyukiWiki" version 0.2.0-p2-preview4 $$
 # Copyright (C) 2004-2012 Nekyo
@@ -1870,12 +1870,11 @@
 
 	my $chk_jp_regex=$::chk_jp_hiragana ? '[あ-んア-ン]' : '[\x8E\xA1-\xFE]';
 	# レベル 2 を除きOver Httpチェックを行う。						# comment
+	# changed by nanami and v 0.2.0-p2 fix
 	if (($level ne  1) && ($::chk_uri_count > 0) && (($chk_str =~ s/https?:\/\///g) > $::chk_uri_count)) {
 		&snapshot('Over http');
-	}
-	if (($level ne  1) && ($uricount > 0) && (($chk_str =~ s/https?:\/\///g) > $uricount)) {
+	} elsif (($level ne  1) && ($uricount > 0) && (($chk_str =~ s/https?:\/\///g) > $uricount)) {
 		&snapshot('Over http');
-	}
 	# レベルが 1 の時のみ 日本語チェックを行う。					# comment
 	# changed by nanami and v 0.2.0 fix
 	} elsif (($level >= 1) && ($::chk_jp_only == 1) && ($chk_str !~ /$chk_jp_regex/)) {



Pyukiwiki-cvs メーリングリストの案内
Back to archive index