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

ElFinderConfigurationReader->getURL should not use getUriForPath #360

Open
mwoynarski opened this issue May 23, 2019 · 0 comments
Open

ElFinderConfigurationReader->getURL should not use getUriForPath #360

mwoynarski opened this issue May 23, 2019 · 0 comments

Comments

@mwoynarski
Copy link

Issue Type:

Please pick one and delete the rest:

  • Bug Report
Bundle Version:

Master

Summary:

The usage of getUriForPath when using a relative url in ElFinderConfigurationReader breaks relative links everywhere except the default environment, as the file url in every other environment becomes http://mysite.com/app_env.php/path/to/uploaded/file, rather than the expected http://mysite.com/path/to/uploaded/file This method should be returning a simple, un-prefixed relative url.

I have tentatively fixed this in mwoynarski@13607c1

@mwoynarski mwoynarski changed the title ElFinderConfigurationReader->getURL should not use the router ElFinderConfigurationReader->getURL should not use getUriForPath May 23, 2019
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