dita-ot / dita-ot

DITA Open Toolkit — the open-source publishing engine for content authored in the Darwin Information Typing Architecture.
https://www.dita-ot.org
Apache License 2.0
386 stars 193 forks source link

Fix some issues occuring when using http urls as input files. #4420

Closed TiboGr closed 2 months ago

TiboGr commented 3 months ago

Description

This pull request fixes some issues occuring when using http urls as input files.

Motivation and Context

  1. Fixes #4419
  2. Error java.lang.IllegalArgumentException: URI has a query component happens when file urls have parameters. Updated DefaultTempFileScheme to ignore those. The same error also occurs in CleanPreprocessModule. No fix provided as it is manageable with customized result rewrite rules.

How Has This Been Tested?

Project built and tested manually with both url and local files on windows.

Type of Changes

jelovirt commented 2 months ago

Fixed by #4425