-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
When calling the GetFile method used in the upload command the code is written
poseidon/pkg/profiles/profile_default.go
Lines 395 to 396 in a0e2f88
| url := fmt.Sprintf("api/v1.3/files/%s/callbacks/%s", fileid, c.ApfellID) | |
| encfileData := c.htmlGetData(fmt.Sprintf("%s/%s", c.BaseURL, url)) |
Where in your initial default.go setup you have the base url ending with a /. This causes a web request to add an addition slash to your url somewebsite.com//api/v1.3/files/... causing the upload request to hang indefinitely.
Removing the / from fmt.Sprintf("%s/%s", c.BaseURL, url)) seems to have done the trick
Fixed code: fmt.Sprintf("%s%s", c.BaseURL, url))
Metadata
Metadata
Assignees
Labels
No labels