mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Don't break os.symlink if app names contain '/'
This commit is contained in:
parent
1268da7ac6
commit
606cda591d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue