Executing arbitrary PHP has no place in a UI, any custom code should be version controlled and not user input. A separate contrib module could be provided as legacy support.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | vbo-arbitrary-behavior-2590735-3.patch | 1.04 KB | gifad |
| #2 | 2596123.diff | 3.64 KB | drumm |
Comments
Comment #2
drummComment #3
gifad commentedI agree that, like any feature involving php code, explicit permission should be granted.
This is actually done by the Actions permission module.
Patch at Unexpected behaviour of "Execute arbitrary PHP script" action makes script action dependant on actions permissions enabled.
Comment #4
bojanz commentedThis is a dangerous action we inherited from the D6 version, but I'm afraid that removing it this late in the release cycle would cause a riot.