Patchwork D2821: hgweb: clarify that apppath begins with a forward slash

login
register
mail settings
Submitter phabricator
Date March 12, 2018, 9:38 p.m.
Message ID <6637c6cda672a1619f26758dc0b17b6c@localhost.localdomain>
Download mbox | patch
Permalink /patch/29393/
State Not Applicable
Headers show

Comments

phabricator - March 12, 2018, 9:38 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe67a2e05fa8a: hgweb: clarify that apppath begins with a forward slash (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2821?vs=6887&id=6951

REVISION DETAIL
  https://phab.mercurial-scm.org/D2821

AFFECTED FILES
  mercurial/hgweb/request.py

CHANGE DETAILS




To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/mercurial/hgweb/request.py b/mercurial/hgweb/request.py
--- a/mercurial/hgweb/request.py
+++ b/mercurial/hgweb/request.py
@@ -134,7 +134,8 @@ 
     remoteuser = attr.ib()
     # Value of REMOTE_HOST, if set, or None.
     remotehost = attr.ib()
-    # WSGI application path.
+    # Relative WSGI application path. If defined, will begin with a
+    # ``/``.
     apppath = attr.ib()
     # List of path parts to be used for dispatch.
     dispatchparts = attr.ib()