You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to encode a path into a Elfinder specific hash. So we tried to use the FM\ElfinderBundle\Loader\ElFinderLoader:: encode($path) to get the hash for the current path. But the result was always empty.
Steps To Reproduce:
In a properly configured project create a controller like this:
Issue Type:
Please pick one and delete the rest:
Bundle Version:
Master
Summary:
We need to encode a path into a Elfinder specific hash. So we tried to use the
FM\ElfinderBundle\Loader\ElFinderLoader:: encode($path)
to get the hash for the current path. But the result was always empty.Steps To Reproduce:
In a properly configured project create a controller like this:
Open your browser with the url containing the path in the query string.
Expected Results:
The response should contain the hash for the given path.
Actual Results:
The response always is an empty string.
Possible solution
FMElfinderBundle/src/Loader/ElFinderLoader.php
Line 120 in 52359fb
change into:
The getPath-method converts a hash into a path. The getHash-method converts a path into a hash!
The text was updated successfully, but these errors were encountered: