about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTMIME.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTMIME.c')
-rw-r--r--WWW/Library/Implementation/HTMIME.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTMIME.c b/WWW/Library/Implementation/HTMIME.c
index 65bab4f9..24b42194 100644
--- a/WWW/Library/Implementation/HTMIME.c
+++ b/WWW/Library/Implementation/HTMIME.c
@@ -1558,6 +1558,13 @@ PRIVATE void HTMIME_put_character ARGS2(
 		if (!strcasecomp(me->value, "YES") ||
 		    !strcasecomp(me->value, "TRUE")) {
 		    me->anchor->safe = TRUE;
+		} else if (!strcasecomp(me->value, "NO") ||
+		    !strcasecomp(me->value, "FALSE")) {
+		    /*
+		    **  If server explicitly tells us that it has changed
+		    **  its mind, reset flag in anchor. - kw
+		    */
+		    me->anchor->safe = FALSE;
 		}
 		break;
 	    case miSERVER: