Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
http: Fix encoding issue in raw file handler
Rūdolfs Ošiņš committed 1 year ago
commit 9d981f921094787b4ab3003f0ed58ce45ba04126
parent b3be042b5193adc60e22186c27a3f0d8fd61f069
1 file changed +1 -1
modified radicle-httpd/src/raw.rs
@@ -158,7 +158,7 @@ fn blob_response(
        MIMES
            .binary_search_by(|(k, _)| k.cmp(&ext))
            .map(|k| MIMES[k].1)
-
            .unwrap_or("text; charset=utf-8")
+
            .unwrap_or("text/plain; charset=utf-8")
    } else {
        "application/octet-stream"
    };