Skip to content
Snippets Groups Projects
  • Jared Hancock's avatar
    e02ab9ae
    oops: Fix download of files with no signature · e02ab9ae
    Jared Hancock authored
    Files upgraded from versions of osTicket prior to 1.9.1 did not have a
    `signature` field in the database. For caching purposes in generating the
    Etag HTTP header, the getSignature function cascades through the getKey
    method. This may be inconsistent in the signed URL creation.
    
    This patch adds a cascade flag to the getSignature method so the cascading
    will not happen unless specifically requested.
    e02ab9ae
    History
    oops: Fix download of files with no signature
    Jared Hancock authored
    Files upgraded from versions of osTicket prior to 1.9.1 did not have a
    `signature` field in the database. For caching purposes in generating the
    Etag HTTP header, the getSignature function cascades through the getKey
    method. This may be inconsistent in the signed URL creation.
    
    This patch adds a cascade flag to the getSignature method so the cascading
    will not happen unless specifically requested.