mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 07:45:54 +01:00
fileupload demo: Removed RawRequest when not needed
This commit is contained in:
parent
089b2f29af
commit
38abb58770
@ -99,7 +99,7 @@ var
|
||||
lFName: string;
|
||||
lFile: TFileStream;
|
||||
begin
|
||||
if Context.Request.RawWebRequest.Files.Count <> 1 then
|
||||
if Context.Request.Files.Count <> 1 then
|
||||
begin
|
||||
Exit(RedirectResponse('/'));
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user