You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "risdenk (via GitHub)" <gi...@apache.org> on 2023/04/10 18:23:20 UTC

[GitHub] [solr] risdenk commented on a diff in pull request #1182: SOLR-16504 Convert CLI tools to Jetty HTTP 2 client.

risdenk commented on code in PR #1182:
URL: https://github.com/apache/solr/pull/1182#discussion_r1161962963


##########
solr/core/src/java/org/apache/solr/util/SolrCLI.java:
##########
@@ -804,6 +804,7 @@ public List<Option> getOptions() {
     protected void runImpl(CommandLine cli) throws Exception {
       String getUrl = cli.getOptionValue("get");
       if (getUrl != null) {
+        getUrl = getUrl.replaceAll("\\+", "%20");

Review Comment:
   `.replace` should work. no need to use regex replaceAll.



-- 
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: issues-unsubscribe@solr.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org