You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Hans Brende (JIRA)" <ji...@apache.org> on 2018/08/02 22:04:00 UTC

[jira] [Assigned] (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:all-tabpanel ]

Hans Brende reassigned ANY23-169:
---------------------------------

    Assignee: Hans Brende

> 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
>            Assignee: Hans Brende
>            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)