Skip to content

Commit

Permalink
[FIXED JENKINS-21842] Use st:setHeader to overwrite any X-Frame-Optio…
Browse files Browse the repository at this point in the history
…ns set by core.
  • Loading branch information
jglick committed Feb 19, 2014
1 parent ba9635d commit bce246d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,6 +25,6 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler">
<j:if test="${it.sendHeader}">
<st:header name="X-Frame-Options" value="${it.options}"/>
<st:setHeader name="X-Frame-Options" value="${it.options}"/>
</j:if>
</j:jelly>

0 comments on commit bce246d

Please sign in to comment.