Re: [exim] caution to those blocking files by extension

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Velan
Fecha:  
A: exim-users
Asunto: Re: [exim] caution to those blocking files by extension
am 2006-11-04 14:11 schrieb Stephen Gran:
> On Sat, Nov 04, 2006 at 01:55:22AM +0200, Stuart Gall said:
>> On 3 Nov 2006, at 15:50, Stephen Gran wrote:
>> > On Fri, Nov 03, 2006 at 03:34:15PM +0200, Brent Clark said:
>> >>
>> >> condition       = ${if match{$acl_m1}{\N^(
>> > [...]
>> >>                                          )$\N}{1}{0}}

>> >
>> > The bug is that you start your regex expects there to be no whitespace
>> > between the final dot and the beginning of the extension. You'll want
>> > to allow optional whitespace at the beginning (and probably the
>> > end) of
>> > your regex.
>>
>> Will windoze execute a file that ends in dot-space-space-space-exe ?
>> dosent the os see this as NOT ending in .exe
>
> I think that windows will happily exec the file, but I don't have a
> machine to test on.


You are right - WindowsXP with shell cmd.exe:

C:\>"xxx. exe" --- will "happily" be executed.

Peter