Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

directory() middleware does not escape # #872

Closed
r04r opened this Issue · 2 comments

3 participants

r04r jongleberry Douglas Christopher Wilson
r04r

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

jongleberry

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.

Douglas Christopher Wilson
Owner

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.

jongleberry 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.