Closed jpmens closed 7 months ago
We might revisit this at some time.
If we want to differentiate via *.php
, I captured headers with:
file_put_contents("/tmp/i.out", print_r(getallheaders(), true));
with the following results (headers with sensitive content removed):
Array
(
[Accept-Language] => en-US,en;q=0.9
[Accept-Encoding] => gzip, deflate, br
[Sec-Fetch-Dest] => document
[Sec-Fetch-User] => ?1
[Sec-Fetch-Mode] => navigate
[Sec-Fetch-Site] => none
[Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
[User-Agent] => Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36
[Upgrade-Insecure-Requests] => 1
[Sec-Ch-Ua-Platform] => "Android"
[Sec-Ch-Ua-Mobile] => ?1
[Sec-Ch-Ua] => "Google Chrome";v="113", "Chromium";v="113", "Not-A.Brand";v="24"
[Cache-Control] => max-age=0
[Connection] => keep-alive
)
Array
(
[Accept-Encoding] => gzip, deflate, br
[Sec-Fetch-Dest] => document
[Accept-Language] => en-GB,en;q=0.9
[User-Agent] => Mozilla/5.0 (iPhone; CPU iPhone OS 16_7_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1
[Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[Sec-Fetch-Mode] => navigate
[Connection] => keep-alive
[Sec-Fetch-Site] => none
)
OTRC config can contain keys which either OS doesn't support, but there are some keys with values that need to differ:
mqttProtocolLevel
:5
3
waypoints
: