Changes between Version 1 and Version 2 of Ticket #35607, comment 4


Ignore:
Timestamp:
Jul 30, 2024, 5:09:02 AM (7 weeks ago)
Author:
Mohammad Salehi

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35607, comment 4

    v1 v2  
    1 I want to write these tests for the functions get_available_name, generate_filename, get_valid_name, and validate_file_name:
    2 
    3 1- Where there is double dots in filename-> "../file.ext"
    4 2_ If there is an unusual character in the filename, include one of the following characters: ^ @ # $ % & * ( ) + = { } | \ / : ; ' " < > ? for exapmle ->
    5 "file@name.ext"
    6 
    7 3_ Where there is long filename -> "a_very_very_very_long_filename_that_exceeds_the_usual_limits_of_a_filesystem.ext"
    8 4_ Where there is filename without extension -> "filename"
    9 5_ Where there is filename with hidden extension -> "filename."
    10 
    11 Is this ok? @nessita
Back to Top