Browse Source

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

Naoki Kambe 13 years ago
parent
commit
3d3592d4b1
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/bin/stats/stats_httpd.py.in

+ 0 - 5
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