diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/001895.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-January/001895.html | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/001895.html b/zarb-ml/mageia-sysadm/2011-January/001895.html new file mode 100644 index 000000000..206367528 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/001895.html @@ -0,0 +1,104 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [263] PNG is a binary file + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B263%5D%20PNG%20is%20a%20binary%20file&In-Reply-To=%3C1294684948.30856.272.camel%40akroma.ephaone.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="001894.html"> + <LINK REL="Next" HREF="001883.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [263] PNG is a binary file</H1> + <B>Michael Scherer</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B263%5D%20PNG%20is%20a%20binary%20file&In-Reply-To=%3C1294684948.30856.272.camel%40akroma.ephaone.org%3E" + TITLE="[Mageia-sysadm] [263] PNG is a binary file">misc at zarb.org + </A><BR> + <I>Mon Jan 10 19:42:28 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="001894.html">[Mageia-sysadm] [263] PNG is a binary file +</A></li> + <LI>Next message: <A HREF="001883.html">[Mageia-sysadm] [762] fix scenari used in single mail list so now, sysadmin mls should work +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1895">[ date ]</a> + <a href="thread.html#1895">[ thread ]</a> + <a href="subject.html#1895">[ subject ]</a> + <a href="author.html#1895">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le lundi 10 janvier 2011 à 20:22 +0200, Thomas Backlund a écrit : +><i> Maarten Vanraes skrev 10.1.2011 20:16: +</I>><i> > Op maandag 10 januari 2011 13:41:12 schreef <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A>: +</I>><i> >> Revision: 263 +</I>><i> >> Author: pterjan +</I>><i> >> Date: 2011-01-10 13:41:12 +0100 (Mon, 10 Jan 2011) +</I>><i> >> Log Message: +</I>><i> >> ----------- +</I>><i> >> PNG is a binary file +</I>><i> >> +</I>><i> >> Modified Paths: +</I>><i> >> -------------- +</I>><i> >> build_system/mgarepo/trunk/RepSys/binrepo.py +</I>><i> >> +</I>><i> >> Modified: build_system/mgarepo/trunk/RepSys/binrepo.py +</I>><i> >> =================================================================== +</I>><i> >> --- build_system/mgarepo/trunk/RepSys/binrepo.py 2011-01-10 12:12:58 UTC +</I>><i> >> (rev 262) +++ build_system/mgarepo/trunk/RepSys/binrepo.py 2011-01-10 +</I>><i> >> 12:41:12 UTC (rev 263) @@ -106,7 +106,7 @@ +</I>><i> >> def is_binary(path): +</I>><i> >> raw = config.get("binrepo", "upload-match", +</I>><i> >> "\.(7z|Z|bin|bz2|cpio|db|deb|egg|gem|gz|jar|jisp|lzma|"\ +</I>><i> >> - "pdf|pgn\\.gz|pk3|rpm|rpm|run|sdz|smzip|tar|tbz|"\ +</I>><i> >> + "pdf|pgn\\.gz|pk3|png|rpm|run|sdz|smzip|tar|tbz|"\ +</I>><i> >> "tbz2|tgz|ttf|uqm|wad|war|xar|xpi|xz|zip|wav|mp3|ogg|"\ +</I>><i> >> "jpg|png|gif|avi|mpg|mpeg|rar)$") +</I>><i> >> maxsize = config.getint("binrepo", "upload-match-size", "1048576") # +</I>><i> >> 1MiB +</I>><i> > +</I>><i> > +</I>><i> > why is png here twice? (once next to jpg and once next to rpm) +</I>><i> +</I>><i> mistake. +</I>><i> +</I>><i> that list sohuld be kept sorted. +</I> + +Or use python-magic to get the mime-types and ban everything that do not +match text/* + +-- +Michael Scherer + +</PRE> + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="001894.html">[Mageia-sysadm] [263] PNG is a binary file +</A></li> + <LI>Next message: <A HREF="001883.html">[Mageia-sysadm] [762] fix scenari used in single mail list so now, sysadmin mls should work +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1895">[ date ]</a> + <a href="thread.html#1895">[ thread ]</a> + <a href="subject.html#1895">[ subject ]</a> + <a href="author.html#1895">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |