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

Karl Wright edited comment on CONNECTORS-1680 at 12/17/21, 5:22 PM:
--------------------------------------------------------------------

The baseDocumentIdentifier code is new for adding the ability to set the base 
URL for all relative references, a change you requested and I implemented.

All relative document urls should be based on baseDocumentIdentifier, and that 
is initialized to be documentIdentifier at the start.  Since this is obviously 
not happening you are correct in your diagnosis.



was (Author: kwri...@metacarta.com):
The baseDocumentIdentifier code is new for adding the ability to set the base 
URL for all relative references, a change you requested and I implemented.

All relative document urls should be based on baseDocumentIdentifier, and that 
is initialized to be documentIdentifier at the start.


> WebConnector: Support the Document Base URL element
> ---------------------------------------------------
>
>                 Key: CONNECTORS-1680
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1680
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Web connector
>            Reporter: Markus Schuch
>            Assignee: Karl Wright
>            Priority: Major
>             Fix For: ManifoldCF 2.21
>
>
> HTML allows to specifiy the base URL to use for all relative URLs in a 
> document:
> {code:java}
> <!doctype html>
> <html lang="de">  
>   <head>     
>     <base href="https://example.org/"/>    
>     ...
>   </head>
>    ...
> </html>{code}
> [https://developer.mozilla.org/de/docs/Web/HTML/Element/base]
> The Web Connector should respect this element when handling relative links.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to