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)
Sat, Feb 15, 12:48 AM
Unknown Object (File)
Fri, Feb 14, 2:11 AM
Unknown Object (File)
Sat, Feb 8, 3:37 AM
Unknown Object (File)
Fri, Feb 7, 11:39 PM
Unknown Object (File)
Fri, Feb 7, 11:39 PM
Unknown Object (File)
Fri, Feb 7, 11:39 PM
Unknown Object (File)
Fri, Feb 7, 11:39 PM
Unknown Object (File)
Fri, Feb 7, 11:39 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.