Aias00 opened a new issue, #6397:
URL: https://github.com/apache/shenyu/issues/6397

   ### Description
   
   PlatformController.loginDashboardUser accepts credentials via GET query 
parameters (userName, password). This causes credentials to appear in server 
access logs, browser history, and HTTP referrer headers, increasing the risk of 
credential leakage in environments where logs are not adequately protected.
   Affected File:
   
   
shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/PlatformController.java
   Proposed Change:
   
   Change the login endpoint to accept credentials via POST request body 
instead of GET query parameters.
   Update the Admin frontend to send login requests as POST.
   Maintain backward compatibility or provide a migration note in the release 
changelog.
   
   Acceptance Criteria:
   
   POST /platform/login accepts userName and password in the request body.
   GET /platform/login with query parameters is removed or deprecated.
   Server access logs no longer contain plaintext credentials.
   
   ### Task List
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to