[ 
https://issues.apache.org/jira/browse/IMPALA-15219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18110148#comment-18110148
 ] 

ASF subversion and git services commented on IMPALA-15219:
----------------------------------------------------------

Commit f6a5cf48a16e3054cf5a680a19fd6d219f060b6b in impala's branch 
refs/heads/branch-4.5.2 from yida.wu
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=f6a5cf48a ]

IMPALA-15219: (Addendum) Harden AI endpoint URL validation with libcurl

This patch replaces the old, customized substring-based URL parser
with the standard libcurl API for ExtractHost(). Using a standard
library for ExtractHost() is better to prevent most edge-case
bypasses and safety concerns.

Tests:
Added more edge cases in AiFunctionsTest and
AiFunctionsTestAdditionalSites.
Passed core tests.

Change-Id: Id787af79c78ac91099b03cdf587db5d1504e5eb5
Reviewed-on: http://gerrit.cloudera.org:8080/24776
Reviewed-by: Joe McDonnell <[email protected]>
Tested-by: Michael Smith <[email protected]>


> Test 4
> ------
>
>                 Key: IMPALA-15219
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15219
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to