forked from extern/egroupware
allow method-names starting with ajax
This commit is contained in:
parent
ff363c13ee
commit
0f4f456d89
@ -25,7 +25,7 @@
|
||||
|
||||
list($appName, $className, $functionName) = explode('.',$arg0);
|
||||
|
||||
if(substr($className,0,4) != 'ajax' && $arg0 != 'etemplate.etemplate.process_exec')
|
||||
if(substr($className,0,4) != 'ajax' && $arg0 != 'etemplate.etemplate.process_exec' && substr($functionName,0,4) != 'ajax')
|
||||
{
|
||||
// stopped for security reasons
|
||||
error_log($_SERVER["PHP_SELF"]. ' stopped for security reason. className '.$className.' is not valid. className must start with ajax!!!');
|
||||
|
Loading…
Reference in New Issue
Block a user