Pipe characters in file names

This commit is contained in:
Sam Ruby 2006-10-16 19:02:22 -04:00
parent 5966c45bce
commit 6df078b8e2
2 changed files with 3 additions and 1 deletions

2
THANKS
View File

@ -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:

View File

@ -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'[,.]*$')