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
F18738223: D10646.id.diff
Wed, Oct 1, 2:51 PM
F18398020: D10646.id.diff
Aug 29 2025, 2:40 PM
F18377578: D10646.diff
Aug 28 2025, 1:12 PM
F18091954: D10646.id25568.diff
Aug 7 2025, 3:09 AM
F18046325: D10646.id25569.diff
Aug 3 2025, 10:36 AM
F17912697: D10646.id.diff
Jul 29 2025, 4:40 PM
F17870219: D10646.diff
Jul 28 2025, 1:29 PM
F17831625: D10646.id25569.diff
Jul 26 2025, 12:06 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.