RockteMQ-AI commented on issue #2480:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/2480#issuecomment-5359158007

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue is valid. The `VITE_API_BASE_URL` compile-time value 
indeed only strips a single trailing slash and does not trim whitespace, which 
can produce a malformed Axios `baseURL` when deployment systems inject 
surrounding whitespace or repeated slashes.
   
   **Root Cause:** Incomplete URL normalization in the Vite build configuration 
— `replace(/\/$/, "")` only removes one trailing slash.
   **Impact:** All API requests may use a malformed base URL in certain 
deployment environments.
   **Severity:** Medium — affects deployment flexibility, not core 
functionality.
   
   An automated fix proposal can be generated. Reply `/approve` to proceed with 
PR generation.
   
   ---
   *Automated evaluation by github-manager*


-- 
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