Skip to content

Tilde replacement is incorrect #29

@schlessera

Description

@schlessera

The "tilde to HOME" replacement seems incorrect:

if ('~' === $path[0]) {

If you are user_a and you type ~user_b, this would be replaced by the shell to mean /home/user_b. The current code will replace this to /home/user_auser_b instead.

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