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

Adds trailing slash and file deletion #10

Open
sitedart-studio opened this issue Jan 22, 2019 · 0 comments
Open

Adds trailing slash and file deletion #10

sitedart-studio opened this issue Jan 22, 2019 · 0 comments

Comments

@sitedart-studio
Copy link

Versions

  • Cloud Media Offloader: 0.8.0
  • WordPress: 5.0.3
  • PHP: 7.1
  • Hosting Environment (ie, Windows, Linux): Linux, Cpanel

Description of Issue/Request

When an image is uploaded, there is an HTTP ERROR. Then the file path looks like so...

https://cdn.mywebsite.com/file/BucketName//2019/01/image-name.jpg

A trailing slash before the actual folder in the bucket. This only happens if you leave the optional path empty. I was able to fix by adding a folder name (wp-media)...

https://cdn.mywebsite.com/file/BucketName/wp-media/2019/01/image-name.jpg

Also having issues deleting an image if the path is incorrect. Once the proper path is added, then it works.

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

1 participant