Skip to content
  • deuce's avatar
    Make parse_headers() non-destructive using strdup() · 85aed003
    deuce authored
    Do not do JS-specific header parsing until we are about to execute the
    script.
    
    This fixes a bug where http_request.header and http_request.cookie were not
    available to redirected requests (ie: index.ssjs)
    
    Reported by: KrisKhaos in IRC
    85aed003