Skip to content

Title: Invalid File Paths Containing Unsupported Characters for Windows Systems #2

@Farooquekk

Description

@Farooquekk

Description:

We have identified an issue where certain file paths in the repository contain characters that are not supported by Windows operating systems. Specifically, file names that include colons (:) cause path-related errors on Windows when attempting to clone or work with the repository. An example of such a file is:

  • Arrays/Array Operations : Creation, Traversal, Insertion.java

Error Encountered:
When attempting to clone the repository or checkout a branch on Windows, users are presented with the following error message:

error: invalid path 'Arrays/Array Operations : Creation, Traversal, Insertion.java'
fatal: unable to checkout working tree

This issue stems from the fact that Windows does not allow certain characters (such as colons) in file or directory names.

Impact:

  • Users on Windows systems are unable to clone or checkout the repository due to this issue.
  • Cross-platform compatibility is hindered, particularly for contributors or users working in a Windows environment.

Proposed Solution:
The file names containing unsupported characters should be renamed to more platform-agnostic alternatives. For example:

  • Rename Array Operations : Creation, Traversal, Insertion.java to Array Operations - Creation, Traversal, Insertion.java or a similar name that does not use characters unsupported by Windows.

Steps to Reproduce:

  1. On a Windows machine, attempt to clone the repository.
  2. Observe the error related to invalid file paths.

Expected Behavior:
The repository should clone successfully on Windows without encountering errors related to file path validity.

Priority:
High – This affects the ability of Windows users to work with the repository.

Environment:

  • Windows OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions