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

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

What is the url of the page with the link?  Is it 
"http://mysare.sare.org/MySareF?do=searchProj&q=*&searchmethod=and&region=&state=&projType=0&sortby=1&page=1";?
  Because, if so, I don't see where /ProjectReport.aspx is supposed to be 
coming from.

The relative URL composition rules in Java in general adhere to the w3c 
specifications.  The problem is often that browsers do somewhat different 
things than the w3c spec.  So let's work with your specific case and figure out 
what's happening.  The only two inputs are: (a) the url of the page, and (b) 
the relative url of the reference.  Since I don't see /ProjectReport.aspx in 
either one, it must either be in the page URL, or there must be a redirection 
taking place.


> 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