• Philipp Schafft's avatar
    Update: SECURITY File extension check for trailing characters · c8f565b0
    Philipp Schafft authored
    This changes the file extension check in a way that it no longer
    ignores trailing characters. This significantly reduces the risk
    for false positives while matching. However this invalidates old
    setups with files like foo.xsl3. However I have never files like
    that in the wild.
    
    This is based on the patch privided by ePirat in ticket #2248.
    
    See: #2248
    c8f565b0
util.h 3.92 KB