Wildcards in os module?
In the "V scripts" documentation (https://vlang.io/docs#bash), it is stated that the #v directive "will make all functions in the os module global". Later in that section, examples such as `rm('build/*')` are given, which appears to imply that os.rm parses wildcards in its arguments. To me, this seems like a bug, as it would allow filenames constructed from user input to do unexpected things.
Yeah, I'm not 100% certain about this. Just an idea at this point.
Log in via GitHub to comment
, open-source blogging/forum software written in V