You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2011/08/17 02:11:27 UTC
[jira] [Commented] (CONNECTORS-157) Some relative paths without
leading / do not resolve properly
[ https://issues.apache.org/jira/browse/CONNECTORS-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086058#comment-13086058 ]
Karl Wright commented on CONNECTORS-157:
----------------------------------------
r1158475 to resolve the latest problem.
> 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.2, ManifoldCF 0.3
>
>
> 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