Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RESPONSE in the bash script returns a cut off link #96

Closed
gerroon opened this issue Nov 17, 2019 · 4 comments
Closed

RESPONSE in the bash script returns a cut off link #96

gerroon opened this issue Nov 17, 2019 · 4 comments

Comments

@gerroon
Copy link

gerroon commented Nov 17, 2019

Here what I get with the current v3.0 RC2

curl -s -F "token=token_XXXXX" -F "upload=@FILE.jpg" https://xxx.xxx/xback/upload

"message":"OK.","version":"3.0.RC2","url":"\/xback\/929c5\/PikIfIPI07.jpg"}

As you see the url is trucated and no longer provides the full url

Also the new script does not use the full url for curl, hre is the portion from the generated script

RESPONSE="$(curl -s -F "token=XXXXX" -F "upload=@${1}" /xback/upload)";

@sergix44
Copy link
Owner

It's a known issue, there is still some problems with url generation due to upgrade to slim 4 (which the docs are pretty bad or not updated).

@gerroon
Copy link
Author

gerroon commented Nov 19, 2019

Sure but does that mean that it will be broken as is or a fix on the way given that you closed the bug?

@sergix44
Copy link
Owner

Fixed in RC3.

@gerroon
Copy link
Author

gerroon commented Nov 19, 2019

I see thank you. I will test it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants