Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Plack::App::Directory lists "Parent Directory" and "../" #277

pstadt opened this Issue · 1 comment

2 participants


While playing with Plack I used Plack::App::Directory to list a directory.
On Linux it lists "Parent Directory" hardcoded from @files and "../" from parsing the directory items. Only "." is skipped while looping over the items.

And on top level (PATH_INFO eq /) Parent Directory shoulden't be listet at all.


sounds fair. PR welcome on this.

@miyagawa miyagawa closed this in 2a84ce3
@miyagawa miyagawa referenced this issue from a commit
@miyagawa miyagawa Checking in changes prior to tagging of version 1.0002.
Changelog diff is:

diff --git a/Changes b/Changes
index 799d98c..d1144bf 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,18 @@
 Go to for the roadmap and known issues.

+1.0002  Mon Aug 13 17:04:25 PDT 2012
+        - Added --no-default-middleware option to plackup #290
+    [BUG FIXES]
+        - Use C locale for AccessLog strftime #313
+        - Escape Plack::Request URI path using RFC 3986 definition (ssmccoy)
+        - Documentation improvements (ether, Tom Heady)
+        - Skip displaying ".." in Plack::App::Directory #277
+        - Document load_class() doesn't validate user input. #285
 1.0001  Thu Jul 26 16:24:13 PDT 2012
         - Deleted lots of code, methods and warnings that have been deprecated since 0.99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.