On 14 Jan 2006 Klaus Schmidinger <Klaus.Schmidinger@xxxxxxxxxx> wrote: > Stefan Huelswitt wrote: > >> --- svdrp.c.orig 2005-12-30 16:42:29.000000000 +0100 >> +++ svdrp.c 2006-01-09 19:15:51.000000000 +0100 >> @@ -682,8 +682,7 @@ >> else if (strcmp(FileName, "-") == 0) >> FileName = NULL; >> else { >> - Reply(501, "Missing filename extension in \"%s\"", FileName); >> - return; >> + Jpeg = true; > > This would allow overwriting files with extensions other > than ".jpeg", ".jpg" or ".pnm" - is this really what you want? Actualy it allows overwriting files with no extention only. I find it convinient to be backward compatible. As the whole operation is limited to the grab directory anyways, security considerations are negligible IMHO. Regards. -- Stefan Huelswitt s.huelswitt@xxxxxx | http://www.muempf.de/