Project

General

Profile

Support #135

TE: if present must have Connection: TE

Added by Paul Herring about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/28/2019
Due date:
% Done:

0%

Estimated time:

Description

Not sure if this is actually a support issue, a bug on Firefox, or BB - I'm inclined towards FF being the problem here, but anyway...

BB 2.2.24
FF 69.0.2 (lots of extensions)
FF 70.0 (no extensions, fresh install)

Headers being sent:

GET / HTTP/2.0
Cookie: PHPSESSID=kdk3mdh02k3u4joo5k2otj4kmq
Te: trailers
Cache-Control: no-cache
Pragma: no-cache
Upgrade-Insecure-Requests: 1
Dnt: 1
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en;q=0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0
Host: <elided>
GET /login.php HTTP/2.0
Cookie: PHPSESSID=rnnov2nt5hegl38cu4h1hq2c37
Te: trailers
Upgrade-Insecure-Requests: 1
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en;q=0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Host: <elided>

This is being caught by common_tests.inc.php:

    90          // TE: if present must have Connection: TE
    91          // RFC 2616 14.39
    92          // Blocks Microsoft ISA Server 2004 in strict mode. Contact Microsoft
    93          // to obtain a hotfix.
    94          if ($settings['strict'] && array_key_exists('Te', $package['headers_mixed'])) {
    95                  if (!preg_match('/\bTE\b/', $package['headers_mixed']['Connection'])) {
    96                        return "582ec5e4";
    97                  }
    98          }

Not sure when this first started, but Chrome doesn't have a problem.

Also available in: Atom PDF