From cfe77b808f12bc087b73188ee038aa03f790a34b 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 5cafa1e..7733025 100644 --- a/src/AutoConnect.cpp +++ b/src/AutoConnect.cpp @@ -796,7 +796,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