• R/O
  • SSH
  • HTTPS

wutsecgi: Commit


Commit MetaInfo

Revision16 (tree)
Time2007-04-08 17:01:13
Authorwutse

Log Message

[wifkyplugin]Version0.10リリース
・英字SPAM対応。一文字以上ひらがなが含まれていないとエラーとする。

Change Summary

Incremental Difference

--- trunk/wifkyplugin/bbs/bbs.pl (revision 15)
+++ trunk/wifkyplugin/bbs/bbs.pl (revision 16)
@@ -176,6 +176,10 @@
176176 $isError = 1;
177177 push(@errorMessages, "本文が長すぎます。");
178178 }
179+ elsif( $bbsMessage !~ /\xA4[\xA0-\xFF]/ ){
180+ $isError = 1;
181+ push(@errorMessages, "本文が不正です。");
182+ }
179183 # ダミー入力チェック
180184 if (exists($::form{message}) and $::form{message} ne "") {
181185 $isError = 1;
Show on old repository browser