helix-mods/helix-term
TiredTumblrina 94a9c81eb0
Prevent improper files (like /dev/random) from being used as file arguments (#10733)
* Implement check before adding path to files

* fix problem where directories were removed from args.files

* Revert "Implement check before adding path to files"

This reverts commit c123944d9b2e125cc0e17e61d53aaffe09234baf.

* Dissallow opening of irregular non-symlink files

* Fixed issue with creating new file from command line

* Fixed linting error.

* Optimized regularity check as suggested in review

* Created DocumentOpenError Sum Type to switch on in Application

* Forgot cargo fmt

* Update helix-term/src/application.rs

Accept suggestion in review.

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Moved thiserror version configuration to the workspace instead of the individual packages.

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-06-18 18:14:17 +02:00
..
src Prevent improper files (like /dev/random) from being used as file arguments (#10733) 2024-06-18 18:14:17 +02:00
tests Remove special handling of line ending characters in selection replacement (#10786) 2024-06-10 17:07:43 +02:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs Add icon to Windows executable (#9104) 2024-01-28 18:31:10 +09:00
Cargo.toml build(deps): bump the rust-dependencies group across 1 directory with 5 updates (#10926) 2024-06-12 01:08:50 +09:00