yyqdbngt opened a new pull request, #2054:
URL: https://github.com/apache/rocketmq-dashboard/pull/2054

   ## What is the purpose of the change
   
   Fix #2036.
   
   Studio has two write paths for the LLM base URL. POST /api/llm/config 
validates the URL and applies UrlHostGuard, but POST /api/settings/general/save 
persisted GeneralSettingsVO.baseUrl without the guard, so an operator could 
store an internal-only or otherwise unsafe base URL through general settings.
   
   ## Brief changelog
   
   - SettingsService.saveGeneralSettings: apply the same UrlHostGuard check 
used for data source URLs before persisting baseUrl
   
   ## How was this patch verified
   
   - Code review: reuses the existing validateDataSourceUrl path
   - `git diff --check` clean
   


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