Fixes the generation of pathinfo.

Under some circumstances the conn->request is already stripped from the conn->webdirectory, and actually removes a legitimate part of the filename. Malforming the pathinfo.