Hi, I'm using getFromResource to deliver html,pics and javascript from a directory which has multiple sub directories. That works fine except the case, that when using a url which maps on a sub directory the file listing of the directory will be shown. As far as I can see the code is trying to avoid that when the url ends with a '/' but without the slash it just returns a list of all the files. I don't want to reject every path directly so I was wondering whether it makes sense to check inside the method whether it's a directory and if so, just reject the request. I could provide a PR for that when that does not break anything else?
Best Martin -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
