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

Doesn't support slashes in URL #263

Open
Slessi opened this issue Jun 1, 2021 · 1 comment
Open

Doesn't support slashes in URL #263

Slessi opened this issue Jun 1, 2021 · 1 comment

Comments

@Slessi
Copy link

Slessi commented Jun 1, 2021

Using setPath with slashes results in broken URLs with escaped slashes as %2F

Thumbor({ serverUrl: 'https://magic.cdn.com', securityKey: 'xxx' })
    .setPath('path/with/slashes.jpg')
    .resize(50, 50)
    .buildUrl()

// https://magic.cdn.com/iOH5jsZdbopShaKWmAHi-XrUZ6U=/50x50/path%2Fwith%2Fslashes.jpg
@kousikaganesan
Copy link

I face the same issue. Any solution?

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