From 6aa31689ac598b9383ae0bf4db6651a13d222729 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Tue, 16 Aug 2011 22:19:43 +0100 Subject: [PATCH] [cert module] Allow \r\n to be inside a certificate when uploading with the web interface. Thanks to Robby for reporting --- modules/cert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cert.cpp b/modules/cert.cpp index 07fb5a97..d65b114f 100644 --- a/modules/cert.cpp +++ b/modules/cert.cpp @@ -69,7 +69,7 @@ public: CFile fPemFile(PemFile()); if (fPemFile.Open(O_WRONLY | O_TRUNC | O_CREAT)) { - fPemFile.Write(WebSock.GetParam("cert")); + fPemFile.Write(WebSock.GetParam("cert", true, "")); fPemFile.Close(); }