You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/13 08:37:00 UTC
[jira] [Commented] (ANY23-169) Incorrect interpretation of relative
and absolute paths with Microdata
[ https://issues.apache.org/jira/browse/ANY23-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437012#comment-16437012 ]
ASF GitHub Bot commented on ANY23-169:
--------------------------------------
GitHub user HansBrende opened a pull request:
https://github.com/apache/any23/pull/76
ANY23-169 Fixed url resolving errors in MicrodataExtractor
mvn clean test -> all tests pass
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HansBrende/any23 ANY23-169
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/any23/pull/76.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #76
----
commit 3e5dce1dd9b043b6d6c9687f6f212b9b2ed2e573
Author: Hans <fi...@...>
Date: 2018-04-13T08:33:22Z
ANY23-169 Fixed url resolving errors in MicrodataExtractor
----
> Incorrect interpretation of relative and absolute paths with Microdata
> ----------------------------------------------------------------------
>
> Key: ANY23-169
> URL: https://issues.apache.org/jira/browse/ANY23-169
> Project: Apache Any23
> Issue Type: Bug
> Components: microdata
> Reporter: Ruben Verborgh
> Priority: Major
> Labels: microdata, url, urls
> Fix For: 2.3
>
>
> Parsing the following fragment located at http://ruben.verborgh.org/tmp/slash-test.html
> <a itemprop="url" href="/">Homepage</a>
> <a itemprop="url" href="other.html">Other</a>
> results in the URIs
> http://ruben.verborgh.org/tmp/slash-test.html//
> http://ruben.verborgh.org/tmp/slash-test.html/other.html
> instead of the correct
> http://ruben.verborgh.org/tmp/
> http://ruben.verborgh.org/tmp/other.html
> Note that there is no trailing slash in the original.
> Test case:
> http://ruben.verborgh.org/tmp/slash-test.html
> http://any23.org/any23/?format=best&uri=http%3A%2F%2Fruben.verborgh.org%2Ftmp%2Fslash-test.html&validation-mode=none
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)