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)
Fri, Nov 22, 7:14 AM
Unknown Object (File)
Mon, Nov 18, 8:27 AM
Unknown Object (File)
Thu, Nov 14, 12:29 AM
Unknown Object (File)
Sat, Nov 9, 10:49 PM
Unknown Object (File)
Wed, Nov 6, 2:56 AM
Unknown Object (File)
Sat, Nov 2, 10:21 PM
Unknown Object (File)
Oct 17 2024, 7:07 PM
Unknown Object (File)
Sep 26 2024, 7:27 PM
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