Change record status: 
Project: 
Introduced in branch: 
10.3.x
Introduced in version: 
10.3.0
Description: 

Prior to 10.3.0, if you uploaded a file via REST or JSON:API and the file was renamed due to an existing file, the filename property of the resultant file entity would not match the file name on disk.

From 10.3.0 if the file on disk is renamed to avoid a collision with an existing file, then the file entity's filename property is also updated to match

This is consistent with how file uploads behave via HTML forms.

Impacts: 
Module developers