[x] I was not able to find an open or closed issue matching what I'm seeing.
[x] This is not a question. (Questions should be asked on chat (Signup here) or our forums.)
MarshallHttpsValue tries to detect whether the curent connection is an encryptesd one by trying to detect whether $_SERVER['HTTPS'] exists and does not contain off.
According to the nginx-Documentation that is a problematic approach as in case of an unencrypted connection the 'HTTPS'-key will contain an empty string which will then be resolved to true as it is not the string off. I doubt that that is intended behaviour.
MarshallHttpsValue tries to detect whether the curent connection is an encryptesd one by trying to detect whether
$_SERVER['HTTPS']
exists and does not containoff
.According to the nginx-Documentation that is a problematic approach as in case of an unencrypted connection the 'HTTPS'-key will contain an empty string which will then be resolved to
true
as it is not the stringoff
. I doubt that that is intended behaviour.Code to reproduce the issue
Expected results
http://localhost:80/api/messagebox-schema
Actual results
https://localhost:80/api/messagebox-schema