]> git.ipfire.org Git - ipfire.org.git/commitdiff
Added virtual directory "download".
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Jan 2009 17:46:26 +0000 (18:46 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Jan 2009 17:46:26 +0000 (18:46 +0100)
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: