[ 
https://issues.apache.org/jira/browse/CONNECTORS-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085959#comment-13085959
 ] 

Karl Wright commented on CONNECTORS-157:
----------------------------------------

I can see what the problem is right away.  The relative urls are not legit 
according to w3c.  It looks like I will need to replace java's implementation 
of url with my own in order to make such a thing work.  I will experiment and 
get back to you.



> Root-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
>
>
> 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";.  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

        

Reply via email to