Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository upload() does not handle UTF-8 Strings as path names #356

Open
HendrikHoetker opened this issue Oct 21, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@HendrikHoetker
Copy link

HendrikHoetker commented Oct 21, 2022

Describe the bug
When using upload() method e. g. like

artifactory.repository(repository).upload(absolutePath, new ByteArrayInputStream(outputStream.toByteArray())).doUpload();

where absolutePath represents a UTF-8 path name string, e. g. "Übungen", the created path in the repository contains <?> symbol only: �.

To Reproduce
See description.

Expected behavior
Artifactory shall handle UTF8 path names for directories and files.

Versions

  • Artifactory Java Client version: Java 1.17, Artifactory Version 2.13.0
  • Operating system: MacOS
  • Artifactory Version: 7.10.0
@HendrikHoetker HendrikHoetker added the bug Something isn't working label Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant