• Dinis Rosário's avatar
    Fix remove_double_dots_and_double_slashes removing all the dots leading http... · 3bd79c7c
    Dinis Rosário authored
    Fix remove_double_dots_and_double_slashes removing all the dots leading http server to serve wrong URI
    
    If the uri is something like '/js/...jquery.js', remove_double_dots_and_double_slashes will remove the 3 dots and the http server will serves the /js/jquery.js file.
    remove_double_dots_and_double_slashes should check if a dot or double dots is followed by a slash (or backslash) and only remove this to avoid disclosure attack.
    3bd79c7c
Name
Last commit
Last update
docs Loading commit data...
examples Loading commit data...
jni Loading commit data...
scripts Loading commit data...
test Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
mongoose.c Loading commit data...
mongoose.h Loading commit data...