Mercurial > hg > nginx-site
view xsls/versions.xsls @ 2206:5cacd6fffade
Eliminated some examples of unsafe prefix locations.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 27 Apr 2018 09:59:51 +0300 |
parents | 1594ed379f1f |
children | 9eadb98ec770 |
line wrap: on
line source
<!-- Copyright (C) Igor Sysoev Copyright (C) Nginx, Inc. --> X:stylesheet { X:template = "mainline_version" { !! "document(concat($XML, '/versions.xml')) /versions/download[@tag='mainline'][1]/item[1]/@ver"; } X:template = "stable_version" { !! "document(concat($XML, '/versions.xml')) /versions/download[@tag='stable'][1]/item[1]/@ver"; } X:template = "commercial_version" { <a href="http://nginx.com/products/"> !!; </a> } }