What character sequence should I not allow in a filename?

后端 未结 6 1931
别跟我提以往
别跟我提以往 2020-12-06 04:55

I found out after testing that linux allows any character in a file name except for / and null (\\0). So what sequence should I not allow in a file

6条回答
  •  佛祖请我去吃肉
    2020-12-06 05:13

    urlencode all strings to be use as filenames and you'll only have to worry about length. This answer might be worth reading.

提交回复
热议问题