Commit 3d3592d4 authored by Naoki Kambe's avatar Naoki Kambe
Browse files

[917] remove an unnecessary if statemnent which should be remove when

the exact evaluation of the requested URI is added at git
88147da5.
parent d9be5973
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment