[TASK] Ensure consistent handling of BLOBs
Set PDO attributes to ensure that BLOB fields are returned as strings to PHP, the way MySQL does. Update INSERT/UPDATE statements that deal with BLOB field to declare the proper parameter type so that the driver can do the required encoding/escaping when sending the data to the DBMS. Releases: master Resolves: #78884 Change-Id: I1618da9130549bd95ce0410420ecdee40cc3632d Reviewed-on: https://review.typo3.org/50883 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Manuel Selbach <manuel_selbach@yahoo.de> Tested-by:
Manuel Selbach <manuel_selbach@yahoo.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php 9 additions, 3 deletions...ore/Classes/Authentication/AbstractUserAuthentication.php
- typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php 3 additions, 0 deletions...ysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 11 additions, 1 deletiontypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Database/Connection.php 20 additions, 3 deletionstypo3/sysext/core/Classes/Database/Connection.php
- typo3/sysext/core/Classes/Database/ConnectionPool.php 6 additions, 0 deletionstypo3/sysext/core/Classes/Database/ConnectionPool.php
- typo3/sysext/core/Classes/Database/QueryView.php 11 additions, 10 deletionstypo3/sysext/core/Classes/Database/QueryView.php
- typo3/sysext/core/Classes/Registry.php 5 additions, 2 deletionstypo3/sysext/core/Classes/Registry.php
- typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php 2 additions, 1 deletion...sysext/core/Classes/Resource/Index/MetaDataRepository.php
- typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php 22 additions, 0 deletionstypo3/sysext/core/Tests/Unit/Database/ConnectionTest.php
- typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php 8 additions, 2 deletions...end/Classes/Authentication/FrontendUserAuthentication.php
- typo3/sysext/impexp/Classes/Domain/Repository/PresetRepository.php 6 additions, 2 deletions...ext/impexp/Classes/Domain/Repository/PresetRepository.php
- typo3/sysext/indexed_search/Classes/Controller/SearchController.php 5 additions, 1 deletion...xt/indexed_search/Classes/Controller/SearchController.php
- typo3/sysext/indexed_search/Classes/Indexer.php 10 additions, 2 deletionstypo3/sysext/indexed_search/Classes/Indexer.php
- typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php 25 additions, 1 deletion...all/Classes/Service/SilentConfigurationUpgradeService.php
- typo3/sysext/scheduler/Classes/Scheduler.php 14 additions, 3 deletionstypo3/sysext/scheduler/Classes/Scheduler.php
- typo3/sysext/scheduler/Classes/Task/AbstractTask.php 10 additions, 0 deletionstypo3/sysext/scheduler/Classes/Task/AbstractTask.php
Please register or sign in to comment