Open garoxas opened 4 years ago
On versions pre-1.0.0 invalid characters are replaced by -, however in newer versions it's now using _
-
_
Implementation in download.js below
const native = async (options, callback) => { options.filename = options.filename .replace(/[`~!@#$%^&*()|+=?;:'",<>{}[\]\\/]/gi, '_') .replace(/[\\/:*?"<>|]/g, '_') .substring(0, 240);
I would like to propose that users can choose which character they want to use in the option menu as personally I prefer using -
On versions pre-1.0.0 invalid characters are replaced by
-
, however in newer versions it's now using_
Implementation in download.js below
I would like to propose that users can choose which character they want to use in the option menu as personally I prefer using
-