Michael Smith has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24776
Change subject: IMPALA-15219: (Addendum) Harden AI endpoint URL validation with libcurl ...................................................................... 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 --- M be/src/exprs/ai-functions-ir.cc M be/src/exprs/expr-test.cc 2 files changed, 118 insertions(+), 16 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/76/24776/1 -- To view, visit http://gerrit.cloudera.org:8080/24776 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: branch-4.5.2 Gerrit-MessageType: newchange Gerrit-Change-Id: Id787af79c78ac91099b03cdf587db5d1504e5eb5 Gerrit-Change-Number: 24776 Gerrit-PatchSet: 1 Gerrit-Owner: Michael Smith <[email protected]>
