mirror of
https://github.com/znc/znc.git
synced 2026-08-08 18:03:22 +02:00
[cert module] Allow \r\n to be inside a certificate when uploading with the web interface.
Thanks to Robby for reporting
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user