mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 17:28:25 +02:00
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
This commit is contained in:
parent
f1219120ea
commit
7388958df7
14 changed files with 26 additions and 55 deletions
|
@ -103,7 +103,7 @@ public class RegistrarWhoisResponseTest {
|
|||
.build(),
|
||||
new RegistrarContact.Builder()
|
||||
.setParent(registrar)
|
||||
.setName("John Geek")
|
||||
.setName("Bonnie & Clyde")
|
||||
.setEmailAddress("johngeek@example-registrar.tld")
|
||||
.setPhoneNumber("+1.3105551215")
|
||||
.setFaxNumber("+1.3105551216")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue