]> git.ipfire.org Git - ipfire.org.git/blobdiff - source/dlhandler.py
Added virtual directory "download".
[ipfire.org.git] / source / dlhandler.py
index c7243264695152a82e0d3bfd91675a80967d51c6..83e60acc16bca882fb291c187388ffa589a88115 100644 (file)
@@ -164,7 +164,7 @@ def main():
        if not file:
                give_302()
 
-       if not path:
+       if not path or path == "download":
                path = "source-3.x"
 
        # At first, we assume that the requested object is a plain file: