filename property

String? filename
final

The client-supplied file name, when the part was a file.

Client input. Fine to record, unsafe to join onto a path: ../../etc/passwd is a valid filename as far as the client is concerned. Store under an identifier you generated.

Implementation

final String? filename;