Commit a4c46fd9 authored by Jim Fulton's avatar Jim Fulton

Added a bit of code to work around a bug in Medusa's URL parsing. It

misshandles URLs containing semicolons (path-segment parameters.
parent d929af72
......@@ -233,6 +233,8 @@ class zhttp_handler:
):
(path, params, query, fragment) = request.split_uri()
if params: path = path + params # undo medusa bug!
while path and path[0] == '/':
path = path[1:]
......
......@@ -233,6 +233,8 @@ class zhttp_handler:
):
(path, params, query, fragment) = request.split_uri()
if params: path = path + params # undo medusa bug!
while path and path[0] == '/':
path = path[1:]
......
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