Page MenuHomePhabricator

Change "%s" in qsprintf to exclude non-BMP characters
ClosedPublic

Authored by epriestley on Feb 23 2014, 9:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 7:07 AM
Unknown Object (File)
Mon, Dec 9, 10:28 AM
Unknown Object (File)
Sun, Dec 8, 11:56 PM
Unknown Object (File)
Wed, Dec 4, 6:03 PM
Unknown Object (File)
Tue, Dec 3, 12:57 PM
Unknown Object (File)
Wed, Nov 27, 8:15 AM
Unknown Object (File)
Tue, Nov 26, 5:42 PM
Unknown Object (File)
Nov 22 2024, 7:14 AM
Subscribers

Details

Summary

Ref T1191. Make %s in qsprintf reject non-BMP characters. Introduce %B for escaping binary strings.

Basically, this just makes "yes, I want to put binary data in this column" explicit.

Test Plan

See next diff for test coverage in Phabricator.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped