28Hus commented on PR #1565:
URL: https://github.com/apache/dubbo-admin/pull/1565#issuecomment-5842875704

   @robocanic  
   Thanks for the review. I pushed follow-up commits addressing the 
configuration handling and test concerns.
   
   Regarding the console: null finding: the claimed authentication bypass is 
inaccurate. In the reviewed revision, config.Load() calls 
AdminConfig.PreProcess() before Validate(), so a nil Console panics before 
execution can reach cookie.NewStore. Also, Gorilla securecookie rejects an 
empty hash key for cookie encoding and decoding. Nevertheless, I updated the 
code to handle this configuration explicitly and safely: missing or null 
console now fails closed during preprocessing, and an empty console object 
fails validation.
   
   I also made the missing-secret tests deterministic by explicitly clearing 
DUBBO_ADMIN_SESSION_SECRET. Regression tests cover these cases. The full Go 
test suite, go vet, and local startup and authentication checks pass.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to