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

fix: Vapor upload issues #328

Merged
merged 3 commits into from
Jul 27, 2022
Merged

fix: Vapor upload issues #328

merged 3 commits into from
Jul 27, 2022

Conversation

sleimanx2
Copy link
Contributor

  • fix using setFileNameCallback/setNameCallback with files uploaded through Vapor
  • fix generating url for private files using temporaryUrl
  • fix selecting the wrong bucket when we have different disk for media library
    based on vapor SignedStorageUrlController

- fix using setFileNameCallback/setNameCallback with files uploaded through Vapor
- fix generating url for private files using temporaryUrl
- fix selecting the wrong bucket when we have different disk for media library
based on vapor SignedStorageUrlController

https://github.com/laravel/vapor-core/blob/2.0/src/Http/Controllers/SignedStorageUrlController.php
@ceejayoz
Copy link

ceejayoz commented Jul 21, 2022

I can confirm this appears to fix Vapor upload issues.

There's an additional issue when using Laravel Sail's MinIO container for local S3 simulation; the temporary URLs generated use the minio:9000 intended for server-side calls, but need to be accessed via localhost:9000 in the browser.

Minor side note: @sleimanx2, can you fix the misspelling in fileExtention?

@bkintanar
Copy link
Collaborator

let me know when this is ready to merge.

this allows us to avoid the AWS_LAMBDA_FUNCTION_VERSION check
@sleimanx2
Copy link
Contributor Author

updated 👍🏼

@bkintanar bkintanar changed the title fix Vapor upload issues fix: Vapor upload issues Jul 27, 2022
@bkintanar bkintanar merged commit 9789976 into ebess:master Jul 27, 2022
@bkintanar
Copy link
Collaborator

@sleimanx2 can you create a PR targetting 4.x also?

@Senexis Senexis mentioned this pull request Aug 12, 2022
Gompje pushed a commit to DaktaDeo/advanced-nova-media-library that referenced this pull request Mar 29, 2024
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

Successfully merging this pull request may close these issues.

3 participants