fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d96e0c4
)
Less restrictive file names.
author
Łukasz Rekucki
<lrekucki@gmail.com>
Mon, 21 Sep 2009 11:13:21 +0000
(13:13 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Mon, 21 Sep 2009 11:13:21 +0000
(13:13 +0200)
apps/explorer/views.py
patch
|
blob
|
history
diff --git
a/apps/explorer/views.py
b/apps/explorer/views.py
index
e5876e9
..
ef2a396
100644
(file)
--- a/
apps/explorer/views.py
+++ b/
apps/explorer/views.py
@@
-61,7
+61,7
@@
def file_list(request, repo):
fl = []
for file in repo.repo[latest_default]:
fl = []
for file in repo.repo[latest_default]:
- m = re.match(u'^pub_([
\\w\\$\\.0-9_-
]+).xml$', file.decode('utf-8'), re.UNICODE)
+ m = re.match(u'^pub_([
^/
]+).xml$', file.decode('utf-8'), re.UNICODE)
if m is not None:
fl.append(m.group(1))
if m is not None:
fl.append(m.group(1))