diff options
author | Jeix <devnull@localhost> | 2010-06-27 22:14:00 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-06-27 22:14:00 +0200 |
commit | 5c6d14bb8d2f17882fb9ba74229d027486ea8a9c (patch) | |
tree | de3179a6652343eda3555e52c5d135f372db4d50 /module/web/ajax/views.py | |
parent | youporn fix (diff) | |
download | pyload-5c6d14bb8d2f17882fb9ba74229d027486ea8a9c.tar.xz |
fixed #115
repr(url) in Request.py shows the bug. The webinterface added the links with a trailing "\r".
Diffstat (limited to 'module/web/ajax/views.py')
-rw-r--r-- | module/web/ajax/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/web/ajax/views.py b/module/web/ajax/views.py index a0e1238aa..c52be119f 100644 --- a/module/web/ajax/views.py +++ b/module/web/ajax/views.py @@ -72,6 +72,7 @@ def add_package(request): if name == None or name == "": return HttpResponseServerError() + links = map(lambda x: x.strip(), links) links = filter(lambda x: x != "", links) settings.PYLOAD.add_package(name, links, queue) |