]> git.sommitrealweird.co.uk Git - bpgallery.git/commitdiff
Fix potential security hole
authorBrett Parker <arch@sommitrealweird.co.uk>
Sat, 13 May 2006 16:49:38 +0000 (16:49 +0000)
committerBrett Parker <arch@sommitrealweird.co.uk>
Sat, 13 May 2006 16:49:38 +0000 (16:49 +0000)
Make pages work for fullsized images.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-23

bpgallery.sh

index f8605d6f5dc2c8176f59f4a1e424df42928fe090..ac776ce79920f1dc30d5973d658d6066bb00998e 100755 (executable)
@@ -415,7 +415,7 @@ function generate_general_page() {
                caption=""
        fi
 
                caption=""
        fi
 
-       $BPGALLERY_PAGE_FUNCTION > $currentpage
+       $BPGALLERY_PAGE_FUNCTION > "$currentpage"
 }
 
 if [[ $OUTPUTHTML != 0 ]]; then
 }
 
 if [[ $OUTPUTHTML != 0 ]]; then