mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 20:45:29 +00:00
make semicolon not a comment
This causes issues with MIME media type parameters.
This commit is contained in:
parent
7f4d71722d
commit
7af42a9bd5
2 changed files with 14 additions and 9 deletions
|
|
@ -111,6 +111,7 @@ impl FileOptions {
|
|||
|
||||
let mut ini = Ini::new_cs();
|
||||
ini.set_default_section("mime");
|
||||
ini.set_comment_symbols(&['#']);
|
||||
let map = ini
|
||||
.load(db.to_str().expect("config path not UTF-8"))
|
||||
.and_then(|mut sections| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue