directory-upload icon indicating copy to clipboard operation
directory-upload copied to clipboard

Leading slash in FormData filename field

Open silverwind opened this issue 8 years ago • 1 comments

I noticed that https://github.com/WICG/directory-upload/commit/37d46d1b151a50666e74bb01064c563a37b94a27#diff-01b4f8e804865d25d17f3ea9bd7c417fL143 changed the filename field to include a leading slash.

Is this change intentional? Uploads from <input type="file" multiple/> don't include a leading slash in this field, and I have admit it's been kind of convenient to look at the received path as being relative from the server's point of view.

silverwind avatar Apr 21 '16 17:04 silverwind

@arunranga do you object to reverting this change?

jwatt avatar May 12 '16 14:05 jwatt