From 9a9668fd86e9acaa66dc9b4609d2b33ba0f00ade Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Sat, 25 May 2019 14:04:06 +0900 Subject: [PATCH] Fixed the uploading URL lost. --- src/AutoConnect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AutoConnect.cpp b/src/AutoConnect.cpp index 0e4c11a..f588c84 100644 --- a/src/AutoConnect.cpp +++ b/src/AutoConnect.cpp @@ -817,7 +817,8 @@ bool AutoConnect::_classifyHandle(HTTPMethod method, String uri) { } // Dispose decrepit page - _prevUri = _uri; // Save current uri for the upload request + if (_uri.length()) + _prevUri = _uri; // Save current uri for the upload request _purgePages(); // Create the page dynamically