elharo opened a new issue, #89:
URL: https://github.com/apache/maven-shared-io/issues/89

   ## Bug #7
   
   `DefaultDownloadManager.java` lines 118-119
   
   The base URL is reconstructed via `url.substring(0, url.length() - 
remotePath.length())`. If the original URL contains a query string or fragment 
(e.g., `?token=abc` or `#section`), `sourceUrl.getPath()` returns only the path 
portion, but the `substring` operation uses the full URL length, producing an 
incorrect base URL.
   
   This can break wagon connectivity when URLs contain query parameters or 
fragments.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to