make semicolon not a comment

This causes issues with MIME media type parameters.
This commit is contained in:
Johann150 2021-02-12 20:34:03 +01:00
parent 7f4d71722d
commit 7af42a9bd5
No known key found for this signature in database
GPG key ID: 9EE6577A2A06F8F1
2 changed files with 14 additions and 9 deletions

View file

@ -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| {