• Rob Swindell's avatar
    Respond with redir when directory requests are received without trailing slash · 187f8f8a
    Rob Swindell authored
    HTTP Directory requests without a trailing slash would "work" (the directory
    listing would be sent), but the links to files, since they're relative to the
    current request location, would be incorrect (missing the directory's virtual
    subdir). So send a 301 response if a client requets a directory without a
    trailing slash.