Skip to content

templating functionality should be more robust w.r.t. percent characters in e.g. description #481

@boegel

Description

@boegel

Currently, a description like:

description = "We are the 99%"

is not accepted in an easyconfig file, it results in an error like:

  File ".../easybuild/framework/easyconfig.py", line 619, in _resolve_template
    value = value % self.template_values
ValueError: unsupported format character 't' (0x74) at index 117

The templates functionality should be made more robust against this, i.e. only take named string templates into account, and auto-escape anything else.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions