We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74447ea commit 1a0b1d0Copy full SHA for 1a0b1d0
src/filesystem.rs
@@ -122,7 +122,7 @@ impl FileSystem {
122
status: actix_web::http::StatusCode::FORBIDDEN,
123
});
124
}
125
- if c.to_str().map_or(false, |s| s.starts_with('.')) {
+ if c.as_encoded_bytes().starts_with(b".") {
126
anyhow::bail!(ErrorWithStatus {
127
128
0 commit comments