gui: Use of AngularJS markup in URL-valued attribute (#5667)

Using AngularJS markup (that is, AngularJS expressions enclosed in double curly braces) in HTML attributes that reference URLs is not recommended: the browser may attempt to fetch the URL before the AngularJS compiler evaluates the markup, resulting in a request for an invalid URL.
This commit is contained in:
Jonas Thelemann 2019-04-23 19:33:40 +02:00 committed by Audrius Butkevicius
parent c6a179fa4d
commit afeb606b5b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<span translate>Please consult the release notes before performing a major upgrade.</span>
</p>
<p>
<a href="https://github.com/syncthing/syncthing/releases/tag/{{upgradeInfo.latest}}" target="_blank" translate>Release Notes</a>
<a ng-href="https://github.com/syncthing/syncthing/releases/tag/{{upgradeInfo.latest}}" target="_blank" translate>Release Notes</a>
</p>
</div>
<div class="modal-footer">