[Resolved] Invalid extra header nameless css file

    • April 12, 2018 at 1:53 pm #1053
      stejos
      Participant

      <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>

      • This topic was modified 6 years, 7 months ago by stejos.
      • This topic was modified 6 years, 7 months ago by stejos.
      • This topic was modified 5 years, 6 months ago by stevland.
    • April 29, 2019 at 9:48 am #3869
      stevland
      Keymaster

      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.

You must be logged in to reply to this topic.