remove compile_error
This commit is contained in:
parent
589de5b9da
commit
c44b1a082e
1 changed files with 0 additions and 3 deletions
|
@ -39,9 +39,6 @@ pub async fn handle(
|
|||
req: Request,
|
||||
included_dir: &'static Dir<'static>,
|
||||
) -> Result<Response, Infallible> {
|
||||
#[cfg(windows)]
|
||||
compile_error!("this is not safe");
|
||||
|
||||
let path = req.uri().path();
|
||||
|
||||
let has_dotdot = path.split('/').any(|seg| seg == "..");
|
||||
|
|
Loading…
Reference in a new issue