An error occurred fetching the project authors.
  1. 13 Mar, 2017 1 commit
  2. 10 Mar, 2017 1 commit
  3. 09 Mar, 2017 1 commit
    • Kurt Jung's avatar
      basicauth: Ability to customize realm (#1491) · e3e62a95
      Kurt Jung authored
      * Support realms with basic authentication
      
      * Add test for default basicauth directive in which realm is not specified
      
      * Correct typo: missing space
      
      * Remove 'path' subdirective
      e3e62a95
  4. 28 Feb, 2017 1 commit
    • ericdreeves's avatar
      Use RequestURI when redirecting to canonical path. (#1331) · 0a0d2cc1
      ericdreeves authored
      * Use RequestURI when redirecting to canonical path.
      
      Caddy may trim a request's URL path when it starts with the path that's
      associated with the virtual host. This change uses the path from the request's
      RequestURI when performing a redirect.
      
      Fix issue #1327.
      
      * Rename redirurl to redirURL.
      
      * Redirect to the full URL.
      
      The scheme and host from the virtual host's site configuration is used
      in order to redirect to the full URL.
      
      * Add comment and remove redundant check.
      
      * Store the original URL path in request context.
      
      By storing the original URL path as a value in the request context,
      middlewares can access both it and the sanitized path. The default
      default FileServer handler will use the original URL on redirects.
      
      * Replace contextKey type with CtxKey.
      
      In addition to moving the CtxKey definition to the caddy package, this
      change updates the CtxKey references in the httpserver, fastcgi, and
      basicauth packages.
      
      * httpserver: Fix reference to CtxKey
      0a0d2cc1
  5. 17 Feb, 2017 1 commit
    • Kurt Jung's avatar
      basicauth: Store name of authenticated user (#1426) · 977a3c32
      Kurt Jung authored
      * Store name of authenticated user in basicauth for use by upstream middleware such as fastcgi and cgi.
      
      * Use request context to transfer name of authorized user from basicauth to upstream middleware. Test retrieval of name from context.
      
      * Remove development code that was inadvertently left in place
      
      * Use keys of type httpserver.CtxKey to access Context values
      977a3c32
  6. 04 Jan, 2017 1 commit
    • Matthew Holt's avatar
      basicauth: Remove Authorization header on successful authz (issue #1324) · 54acb9b2
      Matthew Holt authored
      If a site owner protects a path with basicauth, no need
      to use the Authorization header elsewhere upstream, especially since it
      contains credentials.
      
      If this breaks anyone, it means they're double-dipping. It's usually
      good practice to clear out credentials as soon as they're not needed
      anymore. (Note that we only clear credentials after they're used,
      they stay for any other reason.)
      54acb9b2
  7. 05 Sep, 2016 1 commit
  8. 07 Aug, 2016 1 commit
  9. 05 Jul, 2016 1 commit
  10. 06 Jun, 2016 1 commit