which is somewhat different to the path that clicking the star to make the file manager favourite in the first place, so I guess there is a bug in the favourites selection code
I double-checked the code, and this behavior is expected. When you open it from Webmin, it defaults to the root directory. When you open File Manager from Virtualmin, it uses a specific user home path, and favorites are saved with that path as a label. Everything works as expected in my tests.
And, your URL with ?path=&path=%2Fetc%2F is most likely from an incorrectly manually edited URL.
No it wasn’t but if you say it was that is the answer, but to be fair I’ve only just started to use the favourites function for this purpose. So recap
If you navigate to a directory within webmin and click the favorite star this will always return the root directory and using virtualmin will always return the users home. If that is the case of appending the directory to the favorite description ?
Well, yes. But I just noticed that the URL with the path parameter can change when going back to File Manager because it tries to return to the last used page. That all seems fine to me, except I’m not sure right now why I chose to update the URL when restoring previously used tabs (paths).
I’ll look into removing that so the URL always stays static and is defined by the server-side code (left menu). Thanks!
which works as expected, so as long as you don’t code this ‘feature’ out I can cope with editing the favourites data to reflect what directory I want the favourite to display