mirror of
https://github.com/google/nomulus
synced 2026-09-19 06:32:00 +00:00
Add Carriage Return in WHOIS disclaimer text
WHOIS disclaimer is read from the config yaml file directly and the line breaks within the text does not contain carriage return, which ICANN requires. This CL fixes the non-compliance. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=156359526
This commit is contained in:
@@ -80,7 +80,8 @@ public class WhoisHttpServerTest {
|
||||
whoisServer.whoisReader = new WhoisReader(new WhoisCommandFactory());
|
||||
whoisServer.whoisMetrics = new WhoisMetrics();
|
||||
whoisServer.metricBuilder = WhoisMetric.builderForRequest(clock);
|
||||
whoisServer.disclaimer = "Doodle Disclaimer";
|
||||
whoisServer.disclaimer =
|
||||
"Doodle Disclaimer\nI exist so that carriage return\nin disclaimer can be tested.";
|
||||
return whoisServer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user