raesene/bWAPP

302 redirect blank location

Opened this issue · 0 comments

The portal.php page returns a 302 redirect with a blank location. Some libraries (eg. Golang) fall into an error condition with this happens and the requests fail.

HTTP/1.1 302 Found Date: Mon, 20 Apr 2020 17:14:45 GMT Server: Apache/2.4.7 (Ubuntu) X-Powered-By: PHP/5.5.9-1ubuntu4.14 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Location: Connection: close Content-Type: text/html Content-Length: 23353

Golang error:
"Post http://localhost:3005/portal.php: 302 response missing Location value.