BIND 10 trac917, updated. b79e0ef1ad1ac5c64c8a131ea8e125ca6df066eb [917] add TODO for the user-visible name

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Nov 16 04:42:30 UTC 2011


The branch, trac917 has been updated
       via  b79e0ef1ad1ac5c64c8a131ea8e125ca6df066eb (commit)
       via  3d3592d4b1e7d3b0b3164067e57c1343db691851 (commit)
      from  d9be597335af84bc93c9559bbd76fa85ef0f49c4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b79e0ef1ad1ac5c64c8a131ea8e125ca6df066eb
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Wed Nov 16 13:28:29 2011 +0900

    [917] add TODO for the user-visible name

commit 3d3592d4b1e7d3b0b3164067e57c1343db691851
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Wed Nov 16 13:34:44 2011 +0900

    [917] remove an unnecessary if statemnent which should be remove when
    the exact evaluation of the requested URI is added at git
    88147da513fdb22eb4e430390746f36c96304c7e.

-----------------------------------------------------------------------

Summary of changes:
 src/bin/stats/stats_httpd.py.in |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/stats/stats_httpd.py.in b/src/bin/stats/stats_httpd.py.in
index 8a12d7d..f265abb 100644
--- a/src/bin/stats/stats_httpd.py.in
+++ b/src/bin/stats/stats_httpd.py.in
@@ -93,11 +93,6 @@ class HttpHandler(http.server.BaseHTTPRequestHandler):
             path_dirs = req_path.split('/')
             path_dirs = [ d for d in filter(None, path_dirs) ]
             req_path = '/'+"/".join(path_dirs)
-            # The too long path is to be NotFound
-            # in case of /bind10/statistics/xxx/YYY/zzz/aaa
-            if len(path_dirs) > 5:
-                self.send_error(404)
-                return None
             module_name = None
             item_name = None
             # in case of /bind10/statistics/xxx/YYY/zzz
@@ -726,6 +721,9 @@ class StatsHttpd:
                                      "title" : stats_spec["item_description"] \
                                          if "item_description" in stats_spec \
                                          else "" })
+                        # TODO: Consider whether we should always use
+                        # the identical name "item_name" for the
+                        # user-visible name in XSL.
                         td.text = stats_spec[ "item_title" if "item_title" in stats_spec else "item_name" ]
                         tr.append(td)
                         td = xml.etree.ElementTree.Element("td")




More information about the bind10-changes mailing list