• webv4/pages/002-files.xjs

    From echicken@VERT to Git commit to sbbs/master on Wed Oct 7 09:05:21 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/7f4562e9aa58b416f717d6d3
    Modified Files:
    webv4/pages/002-files.xjs
    Log Message:
    Don't link to files what can't be down-loaded to your local floppy diskette drive.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sat Mar 6 21:31:33 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/956c84e6de20f84b79b91a80
    Modified Files:
    webv4/pages/002-files.xjs
    Log Message:
    Use require() and 'request'.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Apr 26 21:03:31 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/fd99cca8b3e6dbf20542917a
    Modified Files:
    webv4/pages/002-files.xjs
    Log Message:
    Use html_encode() for extended descriptions with Ctrl-A codes too.

    Synchronet v3.19 now converts ANSI-encoded DIZs to Ctrl-A format upon import. ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Nov 11 23:39:43 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/8fd69539c84646c42025e70e
    Modified Files:
    webv4/pages/002-files.xjs
    Log Message:
    webv4: don't list a file directory the user can't access

    The Files page listed a directory's files whenever file_area.dir[] had an
    entry for the requested code. file_area.dir has an entry for every
    directory, marking the ones the user can't access (can_access false,
    index -1); only the dir_list arrays are filtered. So anyone who knew or
    guessed a directory's code could list its files, including a guest viewing
    a directory configured NOT GUEST. Require can_access, as the download API already requires index >= 0. Downloads were not affected.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net