Forum

Invalid extra heade...
 
Notifications
Clear all

Invalid extra header nameless css file

1 Posts
2 Users
0 Reactions
15 Views
Posts: 1
Topic starter
(@stejos)
Member
Joined: 8 years ago

<p>There's an empty named .css file being inserted during the following in include\client\header.inc.php:57<br />
if($ost && ($headers=$ost->getExtraHeaders())) {<br />
echo "\n\t".implode("\n\t", $headers)."\n";<br />
}<br />
It's outputting:<br />
/osta/css/themes/.css</p>


Posts: 1177
Admin
(@stevland)
Member
Joined: 2 months ago

Hi @stejos,

I just realized that the forum software I'm using has been falsely flagging some posts as "spam" and segregating them.

Thank you for taking the time to post this... just so you know, I didn't see it until now!

In any event, the code you are referring to is from osTicket core. A quick grep shows me that it has been present in osTicket's code from at least v1.10 and remains present in the latest release v1.12.

Incidentally it appears in both the Client and Staff header: 

include\client\header.inc.php
include\staff\header.inc.php

I find it perplexing that you found it outputting "/osta/css/themes/.css". I have not been able to reproduce this.

Very odd! I will keep it in mind.


Reply
Share: