google-nomulus/java/google/registry/whois
jianglai 7388958df7 Do not escape WHOIS output
Both WhoisAction and WhoisHttpAction set the HTTP response content type to "text/plain". There is no need to defensively escape the content. In fact, by escaping the content, it creates more problems down the line.

When used in a website, the response should be written into a DOM node by setting the textContent of the node, which automatically escapes the content.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=196743398
2018-05-17 21:52:35 -04:00
..
BUILD Move metrics dependencies to artifacts under Maven groupId com.google.monitoring-client 2018-01-04 17:12:35 -05:00
DomainLookupCommand.java Cache domains, contacts, and hosts in WHOIS queries 2018-04-10 16:24:03 -04:00
DomainOrHostLookupCommand.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
DomainWhoisResponse.java Replace 'referralUrl' with 'url' in WHOIS responses 2018-05-05 23:32:40 -04:00
NameserverLookupByHostCommand.java Cache domains, contacts, and hosts in WHOIS queries 2018-04-10 16:24:03 -04:00
NameserverLookupByIpCommand.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
NameserverWhoisResponse.java Replace 'referralUrl' with 'url' in WHOIS responses 2018-05-05 23:32:40 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarLookupCommand.java Rationalize logging statements across codebase 2018-01-19 14:56:45 -05:00
RegistrarWhoisResponse.java Replace 'referralUrl' with 'url' in WHOIS responses 2018-05-05 23:32:40 -04:00
Whois.java Refactor WhoisReader.readCommand() method to take a now param 2017-03-13 10:45:40 -04:00
WhoisAction.java Change UserPolicy to PUBLIC on WHOIS and EPP endpoints 2018-04-23 14:59:24 -04:00
WhoisCommand.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
WhoisCommandFactory.java Fix a javadoc error 2017-02-08 17:42:49 -05:00
WhoisException.java Implement retry for transient errors in WHOIS server 2017-04-05 10:18:23 -04:00
WhoisHttpAction.java Rename WhoisServer and WhoisHttpServer to actions 2018-04-02 16:52:14 -04:00
WhoisMetrics.java Rename WhoisServer and WhoisHttpServer to actions 2018-04-02 16:52:14 -04:00
WhoisModule.java Add WHOIS metrics classes 2017-03-07 14:01:16 -05:00
WhoisReader.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
WhoisResponse.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
WhoisResponseImpl.java Do not escape WHOIS output 2018-05-17 21:52:35 -04:00