ankitpokhrel / tus-php

🚀 A pure PHP server and client for the tus resumable upload protocol v1.0.0

Home Page:https://tus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem with ios client (TUSKit), incorrect Upload-Metadata is being sent

sjay23 opened this issue · comments

Faced such a problem. the php and js client works well and sends the correct data to Upload-Metadata.
When I use the ios client, the data is sent like this

filename MzgxREJGRkQtRkM0MS00MUNELTkwNjgtNUIyOTNBMjU4QUEy, filetype YXBwbGljYXRpb24vb2N0ZXQtc3RyZWFt - is not correct

And a 500 error is thrown. Because of the gap. Is there a way to fix this.
Because without a space everything works correctly.

filename MzgxREJGRkQtRkM0MS00MUNELTkwNjgtNUIyOTNBMjU4QUEy,filetype YXBwbGljYXRpb24vb2N0ZXQtc3RyZWFt - is correct

Screenshots
image (2)
image (3)

I added an example of debugging this parameter in different situations.

commented

@sjay23 you can use 2.2-dev to try out the fix.

@ankitpokhrel hi, yes it's ok. thank you