• src/sbbs3/websrvr.c websrvr.vcxproj

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, June 04, 2021 23:40:58
    https://gitlab.synchro.net/main/sbbs/-/commit/ab668b37f1dff603e378fa1a
    Modified Files:
    src/sbbs3/websrvr.c websrvr.vcxproj
    Log Message:
    Filenames with '+' characters in them could not be served unless encoded

    The requested path was being URL-decoded with unescape(), but that function does a '+' to ' ' (space) conversion.
    The '+' to space decoding is supposed to occur for the "query" portion of the URL only, not the "path" portion.
    Use the new hex_decode() function instead of unescape() for "path" decoding.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net