-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Closed
Labels
waiting for releaseIssue is fix, waiting on new releaseIssue is fix, waiting on new release
Milestone
Description
I am encountering a form submission error when changing Tom's password. Below is the password change request for Tom submitted by the browser:
POST /WebGoat/PasswordReset/reset/reset-password/PasswordReset/reset/change-password HTTP/1.1
Host: 127.0.0.1:8080
Content-Length: 62
...
...
resetLink=006be8e6-2d0d-4fd0-9477-68d320667122&password=mypass
which gives a 404 response below:
HTTP/1.1 404 Not Found
Connection: close
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: text/html;charset=UTF-8
Content-Length: 275
Content-Language: en-GB
Date: Mon, 26 Feb 2024 07:36:51 GMT
<html><body><h1>Whitelabel Error Page</h1><p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p><div id='created'>Mon Feb 26 15:36:51 SGT 2024</div><div>There was an unexpected error (type=Not Found, status=404).</div></body></html>
I was able to solve the problem after modifying the POST URL as shown below:
POST /WebGoat/PasswordReset/reset/change-password HTTP/1.1
...
...
Metadata
Metadata
Assignees
Labels
waiting for releaseIssue is fix, waiting on new releaseIssue is fix, waiting on new release