Home GnuPG

Add a simple interface to abstract database escaping from aphront
810fe3a8bf15Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add a simple interface to abstract database escaping from aphront

Summary: Currently the qsprintf require an AphrontDatabaseConnection to escape strings which prevents others from using qsprintf without using aphront. Instead, this creates an interface that the AphrontMySQLDatabaseConnection implements that then allows any implementer to use qsprintf.

Test Plan: Not actually sure how to test this. @epriestley: Can you suggest some proper ways to test this besides "use phabricator"?

Reviewers: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D6123

Details

Provenance
Joel Seligstein <joel@madapparelinc.com>Authored on Jun 4 2013, 7:54 PM
epriestley <git@epriestley.com>Committed on Jun 4 2013, 7:55 PM
Parents
rPHUTIL767e18c163ec: Minor, fix a trim() issue with resolveBinary() on non-Windows systems.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUTIL810fe3a8bf15: Add a simple interface to abstract database escaping from aphront (authored by Joel Seligstein <joel@madapparelinc.com>).Jun 4 2013, 7:55 PM