Re: Fingerprinting with JA3 and JA4 hashes

Rodrigo Arias <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Sun, Jul 14, 2024 at 03:41:25PM +0200, Rodrigo Arias wrote:
>--8<--
>diff --git a/src/IO/mime.c b/src/IO/mime.c
>index 9d5e6738..2361a459 100644
>--- a/src/IO/mime.c
>+++ b/src/IO/mime.c
>@@ -112,6 +112,9 @@ void a_Mime_init()
>    /* Add a major type to handle all the text stuff */
>    Mime_add_major_type("text", a_Plain_text);
>+
>+   /* Display JSON as plain text too */
>+   Mime_add_major_type("application/json", a_Plain_text);

This should be Mime_add_minor_type() not major ^^'.

I opened a PR: https://github.com/dillo-browser/dillo/pull/224

Rodrigo.
_______________________________________________
Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected]
To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.