From 706381080580f4bfe7a5b943b0a999b158d2ef19 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Fri, 24 Jan 2025 14:18:56 -0500 Subject: [PATCH] 2025-01-24 Fred Gleason * Fixed a bug in the WebGet service that caused stale temp files to be left behind after processing. Signed-off-by: Fred Gleason --- ChangeLog | 3 +++ web/webget/webget.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0cbbc2d2..80fcdb19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24506,3 +24506,6 @@ * Fixed a bug in the WebGet service that caused uploads to fail when using an Apache package with 'PrivateTmp=true' set in it's Systemd service definition. +2025-01-24 Fred Gleason + * Fixed a bug in the WebGet service that caused stale temp files to + be left behind after processing. diff --git a/web/webget/webget.cpp b/web/webget/webget.cpp index 256e4262..50adc832 100644 --- a/web/webget/webget.cpp +++ b/web/webget/webget.cpp @@ -111,7 +111,7 @@ MainObject::MainObject(QObject *parent) // // Generate Post // - webget_post=new RDFormPost(RDFormPost::AutoEncoded,false); + webget_post=new RDFormPost(RDFormPost::AutoEncoded,true); if(webget_post->error()!=RDFormPost::ErrorOk) { rda->syslog(LOG_WARNING,"post parsing error [%s]", webget_post->errorString(webget_post->error()).