3 ms·
You need to escape them, like in every other instance where strings may contain control characters. That'd be my guess, at least, but, i guess, single quotes a
by stefs 11y ago
You need to escape them, like in every other instance where strings may contain control characters.
That'd be my guess, at least, but, i guess, single quotes aren't valid characters for zDir.
- geofft 11y agoSo what are the quote parsing rules for libcox, and given an arbitrary string, how do I correctly escape them? (In the absence of this, and certainly in the absence of official docs/examples that do the right thing, that's a security vulnerability waiting to happen.)
- symisc_devel 11y agoString escaping follows the same rules of C/C++ or you could use the str_escape command to do job for you.