On Wednesday, February 5, 2020 at 1:15:23 PM UTC-5, Michael Merickel wrote:
>
> If you're opening files you should use the context manager - for example:
>
> with request.POST['file'] as field:
> data = field.file.read()
>
Thanks, Michael. My application code did that... but somewhere in the
Yeah, he sits right next to me :)
On Monday, February 3, 2020 at 12:56:17 AM UTC-5, Bert JW Regeer wrote:
>
> Just quickly following up on this.
>
> Thanks to Fil Zembowicz an issue was found in the regular expression used
> to parse incoming headers, which may lead to a denial of service. This h
If you're opening files you should use the context manager - for example:
with request.POST['file'] as field:
data = field.file.read()
On Tue, Feb 4, 2020 at 3:53 PM Jonathan Vanasco
wrote:
> After even more testing (half my day!)...
>
> My app needed an `add_finished_callback` to close any