Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 18706 | Differences between
and this patch

Collapse All | Expand All

(-)/var/tmp/portage/cyrus-imapd-2.1.11-r1/work/cyrus-imapd-2.1.11/imap/message.c (-1 / +11 lines)
Lines 229-234 Link Here
229
    int n;
229
    int n;
230
    int sawcr = 0, sawnl;
230
    int sawcr = 0, sawnl;
231
    int reject8bit = config_getswitch("reject8bit", 0);
231
    int reject8bit = config_getswitch("reject8bit", 0);
232
    int allow8bitheaders = config_getswitch("allow8bitheaders", 0);
232
    int inheader = 1, blankline = 1;
233
    int inheader = 1, blankline = 1;
233
234
234
    while (size) {
235
    while (size) {
Lines 267-273 Link Here
267
		    } else {
268
		    } else {
268
			/* We have been configured to munge all mail of this
269
			/* We have been configured to munge all mail of this
269
			   form. */
270
			   form. */
270
			*p = 'X';
271
			if (allow8bitheaders) {
272
			/* We allow all mail with 8 bit headers 
273
			   and do not force our users to change
274
			   the way of the world because of one 
275
			   stupid rfc 2046 (or was it 2047?) */
276
			}
277
			else {
278
			  /* We replace each 8bit-Char with X */
279
			  *p = 'X';
280
			}
271
		    }
281
		    }
272
		}
282
		}
273
	    }
283
	    }

Return to bug 18706