Skip to content

Bug: Filenames with spaces not found on OSS after upgrading from 2.6.x to 2.7.x #307

@phannguyen

Description

@phannguyen

Description
After upgrading from v2.6.x to v2.7.x, object keys (filenames) that contain spaces can no longer be found on OSS.
In 2.6.x, the same code works without issue.

Steps to Reproduce

Upload a file with a space in its name, e.g.:

oss://package-materials/2025-08/VC Demo.pdf (this uri on drupal)

Try to access or download it with the SDK.

The SDK throws an exception.

Actual Behavior
OSS\Core\OssException: : RequestId: 68B016C00189C73432B9683B
in OSS\Result\Result->parseResponse()

oss://package-materials/2025-08/VC Demo.pdf was not found on oss.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions