minor fix

This commit is contained in:
Miroslav Stampar 2010-02-04 14:39:24 +00:00
parent ec63fc4036
commit dbd52c52e4

View File

@ -185,7 +185,7 @@ class Web:
payload = agent.payload(newValue=query)
page = Request.queryPage(payload)
requestDir = ntToPosixSlashes(directory).replace(ntToPosixBrackets(kb.docRoot), "/").replace("//", "/")
requestDir = ntToPosixSlashes(directory).replace(ntToPosixSlashes(kb.docRoot), "/").replace("//", "/")
if isWindowsPath(requestDir):
requestDir = requestDir[2:]
requestDir = normalizePath(requestDir)