gianm commented on code in PR #20308:
URL: https://github.com/apache/druid/pull/20308#discussion_r4130191220


##########
server/src/main/java/org/apache/druid/client/DirectDruidClient.java:
##########
@@ -160,7 +160,7 @@ public Sequence<T> run(final QueryPlus<T> queryPlus, final 
ResponseContext conte
 
     final ListenableFuture<InputStream> future;
     final String url = scheme + "://" + host + "/druid/v2/";
-    final String cancelUrl = url + query.getId();
+    final String cancelUrl = url + StringUtils.urlEncode(query.getId());

Review Comment:
   Added a similar but somewhat shorter test.



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