Skip to content

OPA support for persisted bundles with names using special characters in Windows #6915

@alvarogomez93

Description

@alvarogomez93

What is the underlying problem you're trying to solve?

If a bundle uses a special character like such as ? in bundle name in the bundles config, Windows will fail to write the folder that persists the bundle since it uses the bundle name as a basis for the folder name.

For example, if a bundle is called: foo?context=bar, then the directory: foo?context=bar cannot be created to place the bundle.tar.gz inside.

An example config is:

"bundles": {
    "foo": {
...
        "resource": "/bundles/foo",
    },
    "foo?type=context": {
...
        "resource": "/bundles/foo?type=context",
    }
}

Describe the ideal solution

Allow setting a different folder name per bundle in the OPA config file.

Describe a "Good Enough" solution

Strip the special characters of the bundle name before creating the folder.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions