Closed Nerothos closed 2 years ago
Hi @Nerothos, that is interesting. I hadn't run into that yet. Which web server(s) are you using?
Will you please save, and share, copies of your web browser's file browsing pages for the folder, and parent of it, that you have issues with? Like the test examples in this folder? https://github.com/pseudosavant/folder.api/tree/master/server
I'm using Apache/2.4.53 Here's a basic test using an image and a folder with similar quote.
Thanks @Nerothos, I'll check it out when I work on this project next.
@Nerothos I haven't been able to reproduce this issue using Apache locally with folders that have a quote in them. I checked out your tar file. I don't think I explained what I'm looking for well.
The test examples in https://github.com/pseudosavant/folder.api/tree/master/server are all the result of browsing to a folder on an HTTP server with file browsing enabled and pressing Ctrl-S to save the HTML of the folder/file browsing page. Not the player.html
page. It is the HTML that the server renders to list the files.
Here is how to do it:
index.html
file of the Apache folder listingindex.html
hereYou should end up with a file like this: https://github.com/pseudosavant/folder.api/blob/master/server/apache-std/index.html
That file could still be useful for tests, but I figured out where the issue is. Single quotes needed to be percent encoded for URLs in the folder template. The fix will be in the next release.
@Nerothos Check out v2.2.9 it should fix this.
Sorry for not responding, I was busy. I've just tried with that version and it seems to be working ! Thanks.
Hi,
The page doesn't currently handle folder with quote in name (it truncate what's after the quote, quote included)