Apache Solr open-source search software
SOLR-11128: Escape script usage strings containing quotes
Ishan Chattopadhyayae5722c3f96f7
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex d7f195a9cab..0c025851de8 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -301,7 +301,7 @@ New Featuresmultivalued fields, a new JSON request language, and more. DocValues are now required for any field used in the analyticsexpression whereas previously docValues was not required. Please see SOLR-10123 for details. (Houston Putman)-* SOLR-10282: bin/solr support for enabling Kerberos authentication (Ishan Chattopadhyaya)+* SOLR-10282: bin/solr support for enabling Kerberos authentication (Ishan Chattopadhyaya, Jason Gerlowski)Bug Fixes----------------------diff --git a/solr/bin/solr b/solr/bin/solrindex 3d2834057ff..8e7c8d8a8e2 100755--- a/solr/bin/solr+++ b/solr/bin/solr@@ -555,7 +555,7 @@ function print_usage() {echo ""echo "Usage: solr auth enable [-type basicAuth] -credentials user:pass [-blockUnknown <true|false>] [-updateIncludeFileOnly <true|false>]"echo " solr auth enable [-type basicAuth] -prompt <true|false> [-blockUnknown <true|false>] [-updateIncludeFileOnly <true|false>]"- echo " solr auth enable -type kerberos -config "<kerberos configs>" [-updateIncludeFileOnly <true|false>]"+ echo " solr auth enable -type kerberos -config \"<kerberos configs>\" [-updateIncludeFileOnly <true|false>]"echo " solr auth disable [-updateIncludeFileOnly <true|false>]"echo ""echo " -type <type> The authentication mechanism (basicAuth or kerberos) to enable. Defaults to 'basicAuth'."@@ -563,7 +563,7 @@ function print_usage() {echo " -credentials <user:pass> The username and password of the initial user. Applicable for basicAuth only."echo " Note: only one of -prompt or -credentials must be provided"echo ""- echo " -config "<configs>" Configuration parameters (Solr startup parameters). Required and applicable only for Kerberos"+ echo " -config \"<configs>\" Configuration parameters (Solr startup parameters). Required and applicable only for Kerberos"echo ""echo " -prompt <true|false> Prompts the user to provide the credentials. Applicable for basicAuth only."echo " Note: only one of -prompt or -credentials must be provided"