#4 Creates a folder named ~ rather than expanding to home directory

Closed
opened 11 months ago by 132ikl · 1 comments
132ikl commented 11 months ago

If you use the default value of ~/.rust-repl, the program creates a folder named ~ in your current directory and creates the .rust-repl folder inside of that, rather than /home/user/.rust-repl. This is obviously quite dangerous as if a user attempts to remove the folder they may accidentally remove their home directory if they are not careful.

If you use the default value of `~/.rust-repl`, the program creates a folder named `~` in your current directory and creates the `.rust-repl` folder inside of that, rather than `/home/user/.rust-repl`. This is obviously quite dangerous as if a user attempts to remove the folder they may accidentally remove their home directory if they are not careful.
simulacrumparty commented 11 months ago
Owner

Fixed on master! Thanks for the report

Fixed on master! Thanks for the report
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.