Page MenuHomePhabricator

Make formatOrderClause() safer
ClosedPublic

Authored by epriestley on Apr 11 2015, 4:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 6:51 AM
Unknown Object (File)
Sun, Apr 21, 2:39 PM
Unknown Object (File)
Fri, Apr 12, 9:26 PM
Unknown Object (File)
Apr 9 2024, 5:05 AM
Unknown Object (File)
Apr 2 2024, 2:38 AM
Unknown Object (File)
Mar 12 2024, 4:52 PM
Unknown Object (File)
Feb 19 2024, 5:30 AM
Unknown Object (File)
Feb 7 2024, 7:31 PM
Subscribers

Details

Summary

Ref T7803. Instead of trusting subqueries to provide safe values, escape them explicitly.

(We'll probably have a few cases somewhere where this doesn't work, but can make them the exception rather than the rule.)

Test Plan

Issued all "order" queries in Diffusion.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Make formatOrderClause() safer.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 13 2015, 5:00 PM
This revision was automatically updated to reflect the committed changes.