Page MenuHomePhabricator

Storage - fix more query errors by escaping collate_text and collate_sort
ClosedPublic

Authored by btrahan on Oct 6 2014, 10:32 PM.
Tags
None
Referenced Files
F18091954: D10646.id25568.diff
Thu, Aug 7, 3:09 AM
F18046325: D10646.id25569.diff
Sun, Aug 3, 10:36 AM
F17912697: D10646.id.diff
Tue, Jul 29, 4:40 PM
F17870219: D10646.diff
Mon, Jul 28, 1:29 PM
F17831625: D10646.id25569.diff
Jul 26 2025, 12:06 PM
Unknown Object (File)
Jun 20 2025, 12:32 AM
Unknown Object (File)
Jun 19 2025, 3:33 PM
Unknown Object (File)
Jun 18 2025, 12:46 PM
Subscribers

Details

Summary
Test Plan

this is a weird pull request merge

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Storage - fix more query errors by escaping collate_text and collate_sort.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added reviewers: epriestley, chad.
epriestley edited edge metadata.

Ideally, use something like $escaped_text = qsprintf($conn, '%T', $collate_text); and then replace with $escaped_text, since you have a $conn handy.

This revision is now accepted and ready to land.Oct 6 2014, 10:35 PM
btrahan edited edge metadata.

going the preferred route

This revision was automatically updated to reflect the committed changes.