Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Admin Header Footer
#4
I entered a simple script into the header
<script type-"text/javascript" src="<?php get_site_url(); ?>/data/uploads/myScript.js"></script>

And a simpler one in the footer:
<?php get_site_url(); ?>
(to verify the actual path)

After saving, the admin page hangs.
In fact, if I look at the data/other/header-footer.xml file, the previous version (with js syntax errors) is still there.
Fixing the xml file doesn't help.
The file seems to use weird codes for the LFs. I am on a Mac, so no CRLFs.
Also, all the "<" and ">" tag brackets have been changed to "&lt;" and "&gt;" resp., except for those of the initial XML (item, header, footer).

What could be wrong?
Is the header-footer plugin robust against js syntax errors?
Otherwise that could also present a vulnerability.
Reply


Messages In This Thread
Admin Header Footer - by Connie - 2011-07-24, 02:00:08
Admin Header Footer - by dominionit - 2011-07-24, 03:15:52
RE: Admin Header Footer - by vanfruniken - 2015-03-27, 06:19:10
Admin Header Footer - by Connie - 2011-07-24, 04:32:22



Users browsing this thread: 1 Guest(s)