Skip to content
Snippets Groups Projects
Commit 8f97fa3a authored by Morton Jonuschat's avatar Morton Jonuschat Committed by Christian Kuhn
Browse files

[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: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarManuel Selbach <manuel_selbach@yahoo.de>
Tested-by: default avatarManuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 260bb278
Branches
Tags
No related merge requests found
Showing
with 167 additions and 31 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment