[Sugar-devel] [PATCH sugar v2] Prevent view source display of some binary and "junk" files (SL#2854)

Sascha Silbe sascha-ml-reply-to-2011-3 at silbe.org
Mon Aug 15 15:46:26 EDT 2011


Excerpts from Simon Schampijer's message of Mon Aug 01 21:59:35 +0200 2011:
> On 08/01/2011 08:34 PM, Sascha Silbe wrote:
> > From: Walter Bender<walter.bender at gmail.com>
> >
> > This patch addresses the issue raised in SL#2854: the exclusion of some file
> > types from being displayed by viewsource. This version of the patch uses a
> > global, _EXCLUDE, that includes a list of many more common file types to
> > exclude, as per some mining of .gitignore files by Sascha. In a future patch,
> > it may make sense to append the data from the .gitignore and git exclude files.
> >
> > [added exclude list for (exact-match) file names, tweaked description]
> > Signed-off-by: Sascha Silbe<silbe at activitycentral.com>
> 
> Looks good, thanks for the new patch.

Thanks, pushed as f04b5a6 [1].

Sascha

[1] http://git.sugarlabs.org/sugar/mainline/commit/f04b5a628583c07c29abd5eb5b32d33c784f9c7e
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 500 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110815/66deff34/attachment.pgp>


More information about the Sugar-devel mailing list