[
https://issues.apache.org/jira/browse/CONNECTORS-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Wright resolved CONNECTORS-157.
------------------------------------
Resolution: Fixed
Fix Version/s: ManifoldCF 0.3
> Some relative paths without leading / do not resolve properly
> -------------------------------------------------------------
>
> Key: CONNECTORS-157
> URL: https://issues.apache.org/jira/browse/CONNECTORS-157
> Project: ManifoldCF
> Issue Type: Bug
> Components: Web connector
> Affects Versions: ManifoldCF 0.1
> Reporter: Karl Wright
> Assignee: Karl Wright
> Fix For: ManifoldCF 0.3, ManifoldCF 0.2
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira