Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve web redirection and 404 behavior. #67

Merged
merged 1 commit into from
May 23, 2015
Merged

Commits on May 23, 2015

  1. Improve web redirection and 404 behavior.

    Previously we redirected any non-existent path to the root (or path
    prefix).
    
    The new behavior:
    
    With no path prefix:
    
    - "" -> "/"
    - "/biz" -> 404
    
    With path prefix of "/foo/bar":
    
    - "" -> "/foo/bar/"
    - "/" -> "/foo/bar/"
    - "/foo/bar" -> "/foo/bar/"
    - "/biz" -> /foo/bar/biz"
      (anything not starting with the path prefix gets the prefix prepended)
    - "/foo/bar/biz" -> 404
    
    This fixes #66
    juliusv committed May 23, 2015
    Configuration menu
    Copy the full SHA
    d0ae5a3 View commit details
    Browse the repository at this point in the history