droppyjs / droppy

Self-hosted file storage
BSD 2-Clause "Simplified" License
104 stars 12 forks source link

Back to folders with spaces in their names not working #51

Open Tronic opened 2 years ago

Tronic commented 2 years ago

Browsing any subfolder or file within a folder that has spaces in its name and hitting back on browser takes me back to Droppy root folder, not to the parent folder as expected. If there are no spaces, the back function works as it should. As a workaround, clicking the Droppy header breadcrumb of the right folder takes me there even when there are spaces.

So, the navigation history management doesn't do correct escaping/unescaping of %20, an invalid URL is produced and Droppy reverts to showing the root? I did not verify whether that is what is happening but would appreciate if you could fix this.

P.S. I am running many Droppy instances for myself and for two companies now. One of them is a public one at https://drop.zi.fi/ and despite sharing the link on some darker corners of the Internet I have not seen any relevant abuse yet (but the service runs in a sandbox and keeps logs, just in case). Excellent support for media files too! In case you accept donations, as I offered before, I would still wish to contribute.

vahtos commented 5 months ago

Cannot reproduce this issue. Tried in Firefox and Chrome.