janhoy opened a new pull request, #1151: URL: https://github.com/apache/solr/pull/1151
https://issues.apache.org/jira/browse/SOLR-16155 Field values could leak sensitive data into error messages, which end up in logs and API responses. Changes: * `DocumentBuilder`: field values removed from indexing error messages (doc id and field name are kept) * `JavabinLoader`: no longer dumps the whole document in "ERROR adding document"; logs `[doc=<id>]` instead * `FieldType`, `DenseVectorField`, `RankField`, `StrFloatLateInteractionVectorField`: removed `from value '...'` from "Error while creating field" messages, since these propagate into the client-facing message via `DocumentBuilder` * To aid debugging (per JIRA discussion), all of the above now log the offending value at TRACE level, truncated to 256 chars in `DocumentBuilder` * Changelog entry in the new logchange format Known limitation: messages originating from deeper causes (e.g. JDK's `For input string: "b"`, or vector element bounds errors) may still echo the input; scrubbing those would require dropping cause messages entirely. -- 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]
