MyBB Community Forums
Header Template Error (Security Issue) - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Header Template Error (Security Issue) (/thread-140361.html)



Header Template Error (Security Issue) - SyncX - 2013-06-03

I'm using MyBB 1.6.10 and i'm facing this error whenever I add this to the header template.

<navigation>
<div id="header">
<span style="float:right">
<div id="welcome" style="text-align: left; color: #ffffff; text-shadow: 0 1px 0 #000; width: 510px; padding-top: 3px;">
{$welcomeblock}
</div>
</span>
<a href="{$mybb->settings['bburl']}"><img src="{$theme['imgdir']}/logo.png" style="margin-right: 30px;"></a><img src="{$theme['imgdir']}/sep.png">
</div>
<div id="container">
<div id="toplinks">
<ul>
<span style="float:right">
<li><a href="{$mybb->settings['homeurl']}"><img src="{$theme['imgdir']}/toplinks/home.png" alt="Home">&nbsp;Home&nbsp;</a></li>
<li><a href="{$mybb->settings['bburl']}"><img src="{$theme['imgdir']}/toplinks/forums.png" alt="Forums">&nbsp;Forums&nbsp;</a></li>
<li><a href="{$mybb->settings['#']}"><img src="{$theme['imgdir']}/toplinks/demo.png" alt="Demo">&nbsp;Demo&nbsp;</a></li>
<li><a href="{$mybb->settings['#']}"><img src="{$theme['imgdir']}/toplinks/purchase.png" alt="Purchase">&nbsp;Purchase&nbsp;</a></li>
</span>
<li class="nomarg">
<a href="{$mybb->settings['bburl']}/usercp.php"><img src="{$theme['imgdir']}/toplinks/usercp.png" alt="User CP">&nbsp;User CP&nbsp;</a>
{$modcplink}
{$admincplink}
</li>
<li><a href="#"><img src="{$theme['imgdir']}/toplinks/links.png" alt="Forum Links">&nbsp;Forum Links&nbsp;</a>
<ul>
                    <li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">View New Posts</a></li>
                    <li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">View Todays Posts</a></li>
                    <li><a href="{$mybb->settings['bburl']}/search.php?action=finduserthreads&uid={$mybb->user['uid']}">View Your Threads</a></li>
</ul>
</li>
</ul>
</div>
<br />
<br />
        <div id="content">
            {$pm_notice}
            {$bannedwarning}
            {$bbclosedwarning}
            {$unreadreports}
            {$pending_joinrequests}
            <br />]]>

Hope you can help me.
Regards,
SyncX


RE: Header Template Error (Security Issue) - .m. - 2013-06-03

#s are not accepted in codes like <a href="{$mybb->settings['#']}">


RE: Header Template Error (Security Issue) - SyncX - 2013-06-03

Yeah, found out it when I searched header theme error lol.
But thanks mate. Big Grin