From: Brian Warner <warner@allmydata.com>
Date: Tue, 3 Jun 2008 21:34:00 +0000 (-0700)
Subject: webish: make /cap/ equivalent to /uri/, accepting both with the same meanings. Closes... 
X-Git-Tag: allmydata-tahoe-1.1.0~52
X-Git-Url: https://git.rkrishnan.org/specifications/%5B/%5D%20/nxhtml.html?a=commitdiff_plain;h=9f59ecafbbef6d83ce9f0a5669f5d1b640959690;p=tahoe-lafs%2Ftahoe-lafs.git

webish: make /cap/ equivalent to /uri/, accepting both with the same meanings. Closes #428
---

diff --git a/src/allmydata/web/root.py b/src/allmydata/web/root.py
index 9e752b85..561bb988 100644
--- a/src/allmydata/web/root.py
+++ b/src/allmydata/web/root.py
@@ -110,6 +110,7 @@ class Root(rend.Page):
     docFactory = getxmlfile("welcome.xhtml")
 
     child_uri = URIHandler()
+    child_cap = URIHandler()
     child_file = FileHandler()
     child_named = FileHandler()