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
Unknown Object (File)
Fri, Dec 20, 3:29 PM
Unknown Object (File)
Tue, Dec 17, 8:09 PM
Unknown Object (File)
Tue, Dec 17, 1:54 PM
Unknown Object (File)
Wed, Dec 11, 11:11 PM
Unknown Object (File)
Fri, Dec 6, 1:35 PM
Unknown Object (File)
Fri, Dec 6, 2:42 AM
Unknown Object (File)
Thu, Dec 5, 5:36 PM
Unknown Object (File)
Thu, Nov 28, 5:30 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.