nick-boss-tech opened a new pull request, #4968:
URL: https://github.com/apache/solr/pull/4968

   Configset archive handling built ZIP entry names with OS-native path 
separators, so archives produced on Windows carried backslash entry names that 
broke on extraction (`UploadConfigSet`).
   
   This normalizes archive entry names to forward slashes everywhere:
   - new `DownloadConfigSet.toZipEntryName` builds ZIP-legal entry names (`/` 
separators, no leading slash, directories get a trailing slash);
   - `UploadConfigSet` extraction and `FileSystemConfigSetService` directory 
listing use the same normalization.
   
   Tests:
   - new `DownloadConfigSetAPITest` / `UploadConfigSetAPITest` cases cover 
archives containing subdirectories;
   - `TestFileSystemConfigSetService` and `TestSchemaDesignerConfigSetHelper` 
updated accordingly.
   
   Changelog: `changelog/unreleased/SOLR-18178.yml` (fixed)


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to