Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: doxia-integration-tools-1.4
-
Fix Version/s: None
-
Component/s: Doxia Integration Tools
-
Labels:None
-
Number of attachments :
Description
See test case committed in r1174674. Given
to = "http://maven.apache.org/downloads.html"; from = "http://maven.apache.org/index.html";
getRelativePath( to, from ) returns "../downloads.html" instead of "downloads.html". It seems like the 'from' parameter is always supposed to be a directory. That's confusing and not very useful, also the javadocs state that the method should 'Calculate the relative path between two URLs or between two files.'.