[ 
https://issues.apache.org/jira/browse/SOLR-17427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]
Houston Putman updated SOLR-17427:
----------------------------------
    Description: After the CLI changes, the ApiTool cannot be used with urls 
that do not contain a port. This is because {{url.getAuthority()}} is used to 
build the host+port section of the URL, but it will return a "-1" if a port is 
not included in the URL. We should be very careful about using 
{{url.getAuthority()}} in our code.  (was: After the CLI changes, the ApiTool 
cannot be used with urls that do not contain a port.)

> ApiTool regressions after cli pattern change
> --------------------------------------------
>
>                 Key: SOLR-17427
>                 URL: https://issues.apache.org/jira/browse/SOLR-17427
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: cli
>            Reporter: Houston Putman
>            Assignee: Houston Putman
>            Priority: Major
>
> After the CLI changes, the ApiTool cannot be used with urls that do not 
> contain a port. This is because {{url.getAuthority()}} is used to build the 
> host+port section of the URL, but it will return a "-1" if a port is not 
> included in the URL. We should be very careful about using 
> {{url.getAuthority()}} in our code.



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

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

Reply via email to