[Rpm-maint] [rpm-software-management/rpm] add more libmagic exceptions for HTML, SVG and PNG (PR #2429)

Panu Matilainen notifications at github.com
Thu Mar 16 12:00:41 UTC 2023


@pmatilai commented on this pull request.



> @@ -1181,6 +1181,9 @@ static const struct skipped_extension_s skipped_extensions[] = {
 	{ ".h",  "C Header",                 "text/x-c"   },
 	{ ".la", "libtool library file",     "text/plain" },
 	{ ".pc", "pkgconfig file",           "text/plain" },
+	{ ".html", "HTML document, Unicode text, UTF-8 text", "text/html" },

I don't think we should claim it to be Unicode or UTF-8 if we don't even look at it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2429#pullrequestreview-1343604386
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2429/review/1343604386 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230316/da301968/attachment-0001.html>


More information about the Rpm-maint mailing list