Fixes T13238. PHP overwrites this setting inside "real_connect()", so we need to apply it after connecting.
Details
Details
- Reviewers
amckinley - Maniphest Tasks
- T13238: Disallow MYSQLI_OPT_LOCAL_INFILE
- Commits
- rPHU1d3b33d4ccbf: Move "options(MYSQLI_OPT_LOCAL_INFILE, ...)" call after "real_connect()"
- Locally, tested that "options()" after "real_connect()" works as expected.
- See also PHP upstream bug report: https://bugs.php.net/bug.php?id=77496
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Lint
Lint Not Applicable - Unit
Tests Not Applicable