ASF GitHub Bot commented on ANY23-169:

GitHub user HansBrende opened a pull request:


    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:


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 <firedrake93@...>
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

Reply via email to