From ce156cc4dc5aa43d836e919e44740d3cea1fc917 Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Sun, 17 Jan 2021 16:09:14 +0300 Subject: [PATCH] Add better error description for the cookies error https://sourceforge.net/p/webadmin/discussion/600155/thread/0b15f9c4/?limit=25#d12b --- miniserv.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/miniserv.pl b/miniserv.pl index bbdf4d97c..1e134bdc8 100755 --- a/miniserv.pl +++ b/miniserv.pl @@ -4158,10 +4158,10 @@ $authuser = $vu if ($ok); # check if the test cookie is set if ($header{'cookie'} !~ /testing=1/ && $vu && !$config{'no_testing_cookie'} && !$notest) { - &http_error(500, "No cookies", - "Your browser does not support cookies, ". - "which are required for this web server to ". - "work in session authentication mode"); + &http_error(500, "Cache issue or no cookies support", + "Please clear your browser's cache for the given ". + "domain and/or try incognito tab; double check ". + "to have cookies support enabled."); } # check with main process for delay