summaryrefslogtreecommitdiffstats
path: root/usr/local/www/fbegin.inc
diff options
context:
space:
mode:
authorDarren Embry <dse@webonastick.com>2012-05-10 12:05:35 -0400
committerDarren Embry <dse@webonastick.com>2012-05-10 12:05:35 -0400
commit9b420daf9beb721bf896d00b5d77aa6fecfb3725 (patch)
tree574f1dbf9ba46bdb0b8b969f7ef34f74dbde4e07 /usr/local/www/fbegin.inc
parentf3d7f30e0c8ccdb387c7369dcb74b2fda8c96c71 (diff)
downloadpfsense-9b420daf9beb721bf896d00b5d77aa6fecfb3725.zip
pfsense-9b420daf9beb721bf896d00b5d77aa6fecfb3725.tar.gz
fix a bug in anti-clickjack that made all pages blank
https://github.com/bsdperimeter/pfsense/commit/babac37a3b9a676525fff422011b9f3c0f9bd39f
Diffstat (limited to 'usr/local/www/fbegin.inc')
-rwxr-xr-xusr/local/www/fbegin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc
index 1aad755..4f3780b 100755
--- a/usr/local/www/fbegin.inc
+++ b/usr/local/www/fbegin.inc
@@ -1,7 +1,7 @@
<script src="/javascript/sorttable.js"></script>
<style id="antiClickjack">body{display:none}</style> <script type="text/JavaScript">
-if (self === top) { var antiClickjack = document.getElementByID("antiClickjack"); antiClickjack.parentNode.removeChild(antiClickjack);
+if (self === top) { var antiClickjack = document.getElementById("antiClickjack"); antiClickjack.parentNode.removeChild(antiClickjack);
} else { top.location = self.location;
}</script>
OpenPOWER on IntegriCloud