gridftp: handle paths beginning with `~`
[qcg-portal.git] / filex / templatetags / filex.py
index e854e49..f9022b9 100644 (file)
@@ -27,7 +27,7 @@ def locations(context):
         result.append(item)
 
     for item in result:
-        item['value'] = item['host'] + item['path']
+        item['value'] = item['host'] + '/' + item['path']
 
     return json.dumps(result)