Rules editor now encodes the form fields and saves them
[citadel.git] / webcit / messages.c
index 15446c75f16d48f0b64867974648e039af644239..67d2b5054d3938e930aeb20fe827413473984da8 100644 (file)
@@ -2607,7 +2607,7 @@ void post_mime_to_server(void) {
                        encoded_length = ((att->length * 150) / 100);
                        encoded = malloc(encoded_length);
                        if (encoded == NULL) break;
-                       CtdlEncodeBase64(encoded, att->data, att->length);
+                       CtdlEncodeBase64(encoded, att->data, att->length, 1);
 
                        serv_printf("--%s", boundary);
                        serv_printf("Content-type: %s", att->content_type);