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)
Sun, Apr 14, 10:28 PM
Unknown Object (File)
Thu, Apr 11, 8:11 AM
Unknown Object (File)
Sat, Apr 6, 2:54 AM
Unknown Object (File)
Thu, Apr 4, 3:19 PM
Unknown Object (File)
Sat, Mar 30, 4:13 PM
Unknown Object (File)
Fri, Mar 29, 5:05 PM
Unknown Object (File)
Feb 22 2024, 3:17 AM
Unknown Object (File)
Feb 22 2024, 3:17 AM
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.