Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot create or save a block with type PHP when Protector is active and db type is PDO #496
In preparing to benchmark some performance metrics on the current 1.4 branch, I went to create a new block with type PHP and I could not save it. I could create and save custom blocks with other types. I disabled Protector and was able to save the block as PHP.
I had chosen to install with PDO as the db type, so I switched back to MySQL and tested again - I could save the block as PHP. The logic in icms_db_legacy_mysql_Utility::checkSQL() needs to be reviewed and tested further