From 6df078b8e2fb10604fe1b79270e8559eba29fc9d Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Mon, 16 Oct 2006 19:02:22 -0400 Subject: [PATCH] Pipe characters in file names --- THANKS | 2 ++ planet/spider.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/THANKS b/THANKS index eae4e9f..9d778b5 100644 --- a/THANKS +++ b/THANKS @@ -4,6 +4,8 @@ Elias Torres - FOAF OnlineAccounts Jacques Distler - Template patches Michael Koziarski - HTTP Auth fix Brian Ewins - Win32 / Portalocker +Joe Gregorio - Invoke same version of Python for filters +Harry Fuecks - Pipe characters in file names This codebase represents a radical refactoring of Planet 2.0, which lists the following contributors: diff --git a/planet/spider.py b/planet/spider.py index 42131ae..ba79c75 100644 --- a/planet/spider.py +++ b/planet/spider.py @@ -11,7 +11,7 @@ import planet, config, feedparser, reconstitute, shell # Regular expressions to sanitise cache filenames re_url_scheme = re.compile(r'^\w+:/*(\w+:|www\.)?') -re_slash = re.compile(r'[?/:]+') +re_slash = re.compile(r'[?/:|]+') re_initial_cruft = re.compile(r'^[,.]*') re_final_cruft = re.compile(r'[,.]*$')