[
https://issues.apache.org/jira/browse/CONNECTORS-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461544#comment-17461544
]
Markus Schuch commented on CONNECTORS-1680:
-------------------------------------------
[[email protected]] in my journey of fixing the travis ci build i found
out, that the
{{org.apache.manifoldcf.crawler.connectors.webcrawler.tests.SessionLoginHSQLDBIT}}
fails after this change:
{code:java}
[junit] ------------- ---------------- ---------------
[junit] Testcase:
sessionCrawl(org.apache.manifoldcf.crawler.connectors.webcrawler.tests.SessionLoginHSQLDBIT):
Caused an ERROR
[junit] Wrong number of documents processed - expected 101, saw 1
[junit] org.apache.manifoldcf.core.interfaces.ManifoldCFException: Wrong
number of documents processed - expected 101, saw 1
[junit] at
org.apache.manifoldcf.crawler.connectors.webcrawler.tests.SessionTester.executeTest(SessionTester.java:166)
[junit] at
org.apache.manifoldcf.crawler.connectors.webcrawler.tests.SessionLoginHSQLDBIT.sessionCrawl(SessionLoginHSQLDBIT.java:59)
[junit]
[junit]
{code}
> 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)