Skip to content

Fix evaluation of banning_reason_short when filetype is not a leaf

dlucredativ requested to merge banning_short_reason into master

check_for_banned_names issues a wrong banning_short_reason if the banned file/filetype is not a leaf. For instance, a permitted index.html file within a banned archive.zip will be banned with the short_reason .asc,index.html instead of application/octet-stream,.zip,archive.zip.

Merge request reports