Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Hiding files

edited July 2005 in Vanilla 1.0 Help
I set 'forum' in the hidden files part of the config so my vanilla directory wouldnt be browsed by filebrowser. And its now not showing in the list of folders, however when i click 'images' (the next (and only) folder there) it browses the forum folder. And i have to change the 'did' variable in the address bar to get it to browse images.

I guess this is mainly a linking bug, but it could also be a bit of a security hole if people notice that theres a jump between 2 did's when browsing something (i,e then they can look at the folder[s] in the middle)

Comments

  • Options
    MarkMark Vanilla Staff
    Oh, that's a bug for sure. I'll get on that one right away.
  • Options
    <3
    You work better than most paid people i've ever met.
  • Options
    MarkMark Vanilla Staff
    edited July 2005
    It's fixed and uploaded. You can get version 1.3.1 from thefilebrowser.com, now :)
  • Options
    edited July 2005

    I encountered a similar problem with version 1.3.3.

    I installed Filebrowser in a directory containing two subdirectories: '_foo' and 'bar'.

    On the main Filebrowser page only 'bar' was listed under the 'Folders' heading, but clicking on the link displayed the contents of '_foo' instead of the contents of 'bar'.

    The following patch fixes this:

    --- index.orig  Fri Jul 22 10:39:14 2005
    +++ index.php   Sun Jul 24 10:58:25 2005
    @@ -720,7 +720,8 @@
            if ($Item != '.'
              && $Item != '..'
              && is_dir($Path."/".$Item)
    -         && !in_array($Path."/".$Item, $Config->FullyQualifiedHideFiles)) $aCurrentSubFolders[] = $Item;
    +         && !in_array($Path."/".$Item, $Config->FullyQualifiedHideFiles)
    +         && !($Config->DisplayHiddenFiles == "false" && substr($Item,0,1) == "_")) $aCurrentSubFolders[] = $Item;
        }
        closedir($FolderHandle);
        // Sort the folders according to the config setting
    
This discussion has been closed.