From 9b6ba052a0c709514d3af8f33b44a1b5862c16f9 Mon Sep 17 00:00:00 2001 From: Gerrit Code Review Date: Tue, 20 Mar 2018 06:24:27 -0400 Subject: [PATCH] Mark with |blessStringAsTrustedResourceUrlForLegacy. Soy is about to require trusted_resource_url in . This change prepares for that by blessing existing string URLs. PiperOrigin-RevId: 189717626 Change-Id: I736fc35d8ec9f412d75f0ce52121e4924fb41719 --- .../com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy | 6 +++--- .../com/google/gerrit/server/mail/ChangeFooterHtml.soy | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy b/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy index a01314036f..572c08d513 100644 --- a/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy +++ b/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy @@ -50,8 +50,8 @@ {\n} {\n} {\n} - {\n} - {\n} + {\n} + {\n} {\n} // Content between webcomponents-lite and the load of the main app element // run before polymer-resin is installed so may have security consequences. @@ -60,7 +60,7 @@ // // github.com/Polymer/polymer-resin/blob/master/getting-started.md#integrating {\n} - {\n} + {\n} {\n} {\n} diff --git a/resources/com/google/gerrit/server/mail/ChangeFooterHtml.soy b/resources/com/google/gerrit/server/mail/ChangeFooterHtml.soy index 99263e8830..f802366a94 100644 --- a/resources/com/google/gerrit/server/mail/ChangeFooterHtml.soy +++ b/resources/com/google/gerrit/server/mail/ChangeFooterHtml.soy @@ -38,7 +38,7 @@ {if $email.changeUrl}
- +