diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-04 11:23:26 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-04 11:23:26 +0800 |
commit | ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa (patch) | |
tree | 3ff186e6ad1c2a612f8ec12290f6622bf6ba3194 | |
parent | dd335b471838fa45d85838bec7251b9a7525735a (diff) | |
download | pttbbs-ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa.tar pttbbs-ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa.tar.gz pttbbs-ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa.tar.bz2 pttbbs-ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa.tar.lz pttbbs-ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa.tar.xz pttbbs-ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa.tar.zst pttbbs-ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa.zip |
some basic security stuff can be made default.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2886 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/edit.c | 2 | ||||
-rw-r--r-- | mbbsd/xyz.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 51df6f5a..8a7dcf49 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1279,7 +1279,7 @@ do_quote(void) else if (op == 'r') while (fgets(buf, 256, inf)) { /* repost, keep anything */ -#ifdef LOW_SECURITY +#if 0 // def LOW_SECURITY insert_string(Ptt_prints(buf, NO_RELOAD)); #else // quote_strip_ansi_inline(buf); diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c index cdb16c3c..af5aeb5b 100644 --- a/mbbsd/xyz.c +++ b/mbbsd/xyz.c @@ -361,7 +361,7 @@ Goodbye(void) /* why do we show user info in logout? * no reason and it has security problem. */ -#ifdef LOW_SECURITY +#if 0 // def LOW_SECURITY prints(ANSI_COLOR(1;36) "親愛的 " ANSI_COLOR(33) "%s(%s)" ANSI_COLOR(36) ",別忘了再度光臨" ANSI_COLOR(45;33) "" " %s " ANSI_COLOR(40;36) "!\n以下是您在站內的註冊資料:" ANSI_COLOR(0) "\n", cuser.userid, cuser.username, BBSName); |