If Code does not exit here: (e.q. internal CORS Control not used)
It will crash here:
|
if ($this->method == 'OPTIONS' && getallheaders()->Access-Control-Request-Headers) { |
Because of "Access-Control-Request-Headers" which is not a valid variable name.
If Code does not exit here: (e.q. internal CORS Control not used)
RestServer/source/Jacwright/RestServer/RestServer.php
Line 123 in 119eee4
It will crash here:
RestServer/source/Jacwright/RestServer/RestServer.php
Line 131 in 119eee4
Because of "Access-Control-Request-Headers" which is not a valid variable name.