Ruben Verborgh created ANY23-169:
------------------------------------
Summary: 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
Reporter: Ruben Verborgh
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira