Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


directory() middleware does not escape # #872

r04r opened this Issue · 2 comments

3 participants


It's impossible to enter directories or open files whose name starts with a #


are you trying to access this from the browser? the browser doesn't even send the hash portion of the URL, so you'll have it escape it yourself.


I believe he means that if there is a directory on the server named #blah the URL to open that directory when looking at the parent directory includes a literal #, and so the client doesn't send the # and everything after it.

<a href="/dir/#child>#child</a>

The browser will just request /dir/ because of this.

@jonathanong jonathanong closed this in #917
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.