Project

Profile

Help

Bug #5357

closed

URL is not normalized correctly

Added by Octavian Nadolu about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
Start date:
2022-02-25
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
11
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

The method net.sf.saxon.om.DocumentKey.normalizeURI(String) does not create correctly the normalized URI. For example, if you have something like this: file:/d:/projects/saxon/././something/../file%20with%20spaces.xml You will obtain the following normalized URI:: file:d:\projects\saxon\file%20with%20spaces.xml Instead of: file:/d:/projects/saxon/file%20with%20spaces.xml

The problem is that you concatenate the canonical path of the file with the file protocol.

I tested with Saxon 10.6

Please register to edit this issue

Also available in: Atom PDF