how to allow double filename extension
Posted: 27 Feb 2013, 21:54
ineed to allow double file extension like name.xls.pdf or any name.*.pdf
Peer support forums for ConfigServer Scripts
https://mail.forum.configserver.com/
You need to tweak the following file:xeonex wrote:ineed to allow double file extension like name.xls.pdf or any name.*.pdf
Try to wrote your rule, before the deny rule:xeonex wrote:yes but i do not find asuitable rule to get it work i have tried like
allow \.[a-z][a-z0-9]{2,3}\s*\.pdf$
# Deny all other double file extensions. This catches any hidden filenames.
deny \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$ Found possible filename hiding Attempt to hide real filename extension