From ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 4 Jul 2005 03:23:26 +0000 Subject: some basic security stuff can be made default. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2886 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 2 +- 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); -- cgit v1.2.3