Skip to content

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

@HendrikHoetker

Description

@HendrikHoetker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions