You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/07/31 15:56:00 UTC
[jira] [Created] (SOLR-14699) Solr request logs should escape
names, values (SolrQueryResponse.getToLogAsString)
David Smiley created SOLR-14699:
-----------------------------------
Summary: Solr request logs should escape names, values (SolrQueryResponse.getToLogAsString)
Key: SOLR-14699
URL: https://issues.apache.org/jira/browse/SOLR-14699
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: logging
Reporter: David Smiley
{{SolrQueryResponse.getToLogAsString}} encodes the NamedList into a String with simple space-separated pairs with name=value. However, it does no escaping/encoding, and as-such a value might itself contain spaces and equals. This is a problem if these logs are being parsed, and we'd like to ensure we do so correctly. Note that SolrLogPostTool (aka "postlogs") parses these logs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org