Skip to content

[Feature request] Allow SVG as test case visualization #2875

Closed
@mpsijm

Description

@mpsijm

Description of the enhancement request

Test cases can already have PNG/JPG/GIF images attached to them, see here. It would be nice to also allow support for SVG.

In the Slack discussion, it was mentioned that SVG allows potentially executable code, so it would be wise to sanitize them during the import. On the other hand, these SVGs are only created by (usually trusted) jury members (perhaps except in the case of output visualization, see #2744).

The goal you want to achieve

For jury members, it would give more options to create a visualization. Automatically generating PNGs requires some library code, and SVGs can simply be written as plain text.

Expected behaviour

Expectation: SVGs are not rejected during import.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions