You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8fa7b3b
Browse filesBrowse the repository at this point in the historyBrowse files
[fix](jdbc) Address review: encoded traversal, remote URI components, config cleanup
- Decode file:// driver URLs once via URI.getPath() in JdbcResource.toLocalPath so
percent-encoded parent segments (e.g. %2e%2e) are resolved into the same
representation the classloader uses; the connector rule now checks the decoded
path too. Fixes an encoded path-traversal bypass.
- remoteUrlMatches now also compares user-info and raw query, so an allowed prefix
like ".../download?id=approved" no longer authorizes ".../download?id=evil".
- Remove the orphaned http_load_submitter_max_worker_threads config (its only
consumer, the deleted LoadSubmitter, is gone).
- Fix the jdbc_driver_secure_path description to match the new empty-value behavior
(empty now denies all scheme-qualified URLs).
- Tests: encoded traversal (JdbcResource + connector rule), query/user-info
mismatch, and empty secure_path denial.
Copy file name to clipboardExpand all lines: fe/fe-connector/fe-connector-jdbc/src/test/java/org/apache/doris/connector/jdbc/JdbcDriverUrlSecurityRuleTest.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,14 @@ public void testHttpUrlTraversalRejected() {
0 commit comments