Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 0.1
-
None
Description
If a document has a URL which is just the domain, e.g. "http://foo.com", the java.net.URI class fails to resolve URLs in that document which have no starting "/", e.g. "document.pdf". The resolved URI has no path part, e.g. "http://foo.comdocument.pdf".
Another similar case is the following:
"http://foo.com/bar/xyz.asmx?q=hello"
... with a relative URL of "q=there"
... produces: "http://foo.com/bar/?q=there", incorrectly losing the last part of the path.
This is apparently a bug, but we need to find a way to work around it properly.