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

Simon Schampijer simon at schampijer.de
Mon Aug 1 15:59:35 EDT 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.

Regards,
    Simon


More information about the Sugar-devel mailing list