mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Sanitize EPP XML requests and responses
Masks user credentials (tags 'pw' and 'newPW') in EPP XML messages. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=207953894
This commit is contained in:
parent
9eec70729f
commit
81fce674d2
11 changed files with 415 additions and 3 deletions
|
@ -54,7 +54,7 @@ public class FlowRunner {
|
|||
|
||||
/** Runs the EPP flow, and records metrics on the given builder. */
|
||||
public EppOutput run(final EppMetric.Builder eppMetricBuilder) throws EppException {
|
||||
String prettyXml = prettyPrint(inputXmlBytes);
|
||||
String prettyXml = prettyPrint(EppXmlSanitizer.sanitizeEppXml(inputXmlBytes));
|
||||
|
||||
logger.atInfo().log(
|
||||
COMMAND_LOG_FORMAT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue