chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1268da7
)
Don't break os.symlink if app names contain '/'
author
Daniel Martí
<mvdan@mvdan.cc>
Sun, 14 Dec 2014 14:43:22 +0000
(15:43 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sun, 14 Dec 2014 14:43:22 +0000
(15:43 +0100)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index eb04ddbb8d9e93a0b9ee49a959da6d0ffa9206d2..42806ce5b3f411132d5037d473c88c17c99cbb4a 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-868,7
+868,7
@@
def make_index(apps, sortedids, apks, repodir, archive, categories):
if current_version_file is not None \
and config['make_current_version_link'] \
and repodir == 'repo': # only create these
- sanitized_name = re.sub('''[ '"&%?+=]''', '',
+ sanitized_name = re.sub('''[ '"&%?+=
/
]''', '',
app[config['current_version_name_source']])
apklinkname = sanitized_name + '.apk'
current_version_path = os.path.join(repodir, current_version_file)