Undefined $_SERVER['HTTP_ACCEPT_ENCODING'] when from "run_event.php"

20 views
Skip to first unread message

Alexander Obuhovich

unread,
Sep 10, 2012, 2:00:04 PM9/10/12
to Bugs In-Portal
In-Portal has a script, that allows to run any defined system event from command line as "root" (without permission check).
Since script is very powerful it's also password protected.

When executed on PHP 5.2.x server accepted encoding stored in $_SERVER['HTTP_ACCEPT_ENCODING'] is absent.



Ready for testing.


--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
run_event_accept_encoding_fix.patch
Reply all
Reply to author
Forward
0 new messages