Skip to content

TUS: web sending lots for unneeded 'Upload-Metadata' values #2677

Closed

Description

@rhafer

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

When creating a TUS Upload. web sends this value in the Upload-Metadata header:

{
	"requestHeaders": {
		"headers": [
			{
				"name": "Upload-Metadata",
				"value": "name bGFyZ2VmaWxlXzAx,mtime MTc0NzE0NDU2OC4zNA==,spaceId ZWNmZTAxY2YtOTY3Yi00ODU3LTg4ZTUtYmIwNWE2Y2E0NzFlJGQzNmEyYjMxLWE4N2YtNDJmNi1iOGU0LTc3NWExYTBhMDNjNA==,spaceName UGVyc29uYWw=,driveAlias cGVyc29uYWwvYWRtaW4=,driveType cGVyc29uYWw=,currentFolderId ZWNmZTAxY2YtOTY3Yi00ODU3LTg4ZTUtYmIwNWE2Y2E0NzFlJGQzNmEyYjMxLWE4N2YtNDJmNi1iOGU0LTc3NWExYTBhMDNjNCFkMzZhMmIzMS1hODdmLTQyZjYtYjhlNC03NzVhMWEwYTAzYzQ=,fileId dW5kZWZpbmVk,uppyId dXBweS1sYXJnZWZpbGUvMDEtMnYtYXBwbGljYXRpb24vb2N0ZXQtc3RyZWFtLTUxMjAwMDAwMC0xNzQ3MTQ0NTY4MzQw,tusEndpoint aHR0cHM6Ly9sb2NhbGhvc3Q6OTIwMC9kYXYvc3BhY2VzL2VjZmUwMWNmLTk2N2ItNDg1Ny04OGU1LWJiMDVhNmNhNDcxZSRkMzZhMmIzMS1hODdmLTQyZjYtYjhlNC03NzVhMWEwYTAzYzQ=,uploadId YTg2ZmQ1ZWUtYTc4Yy00NzZjLTk5NzQtZTA5ZDQ1ZDdmZWRm,topLevelFolderId dW5kZWZpbmVk,routeName ZmlsZXMtc3BhY2VzLWdlbmVyaWM=,routeShareId ,isFolder ZmFsc2U=,filename bGFyZ2VmaWxlXzAx"
			},
}

Most of the attributes in there are useless, as they're not part of the spec and our implementation does not support them. The only attributes from the above list that are relevant for the server are filename and mtime. The server additionally allows checksum.

Any idea why the web client is sending all that stuff?

Reproduction Steps

Upload a file. And look at the request

Expected Outcome

Only useful values are sent.

Actual Outcome

see above

Activity

  1. JammingBen commented on Jun 12, 2026

    @JammingBen
    Member

    Web sets these values internally to correctly display the upload overlay on the bottom right. It seems that Uppy is automatically appending them via the Upload-Metadata header. I think there is a way to exclude them from this header, though we need to check if everything continues to work as expected without them.

  2. self-assigned this
    on Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions