mymeiyi commented on code in PR #23053:
URL: https://github.com/apache/doris/pull/23053#discussion_r1322301518


##########
be/src/http/utils.cpp:
##########
@@ -72,7 +73,11 @@ bool parse_basic_auth(const HttpRequest& req, std::string* 
user, std::string* pa
 
 bool parse_basic_auth(const HttpRequest& req, AuthInfo* auth) {
     auto& token = req.header("token");
-    if (token.empty()) {
+    auto& auth_code_uuid = req.header(HTTP_AUTH_CODE_UUID);

Review Comment:
   User can also set "http_code_uuid" when stream load?
   This may be unsafe. 



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to