Merge pull request #3766 from overleaf/jpa-xss-8

[views] mitigate Angular XSS in affiliations section of user settings

GitOrigin-RevId: bad444cea136c51f54546770653f21cec6fa70e3
This commit is contained in:
Jakob Ackermann 2021-03-17 12:46:33 +01:00 committed by Copybot
parent 58841ecbe9
commit 115fe20184

View file

@ -269,7 +269,7 @@ form.row(
aria-label=translate("close")
)
span(aria-hidden="true") ×
.small !{translate("institution_acct_successfully_linked", {institutionName: institutionLinked.universityName})}
.small(ng-non-bindable) !{translate("institution_acct_successfully_linked", {institutionName: institutionLinked.universityName})}
if institutionLinked.hasEntitlement
.small !{translate("this_grants_access_to_features", {featureType: translate("professional")})}
if institutionEmailNonCanonical
@ -302,9 +302,9 @@ form.row(
|  #{translate("generic_something_went_wrong")}.
br
if samlError.translatedMessage
| !{samlError.translatedMessage}
span(ng-non-bindable) !{samlError.translatedMessage}
else if samlError.message
| #{samlError.message}
span(ng-non-bindable) #{samlError.message}
if samlError.tryAgain
br
|  #{translate("try_again")}.