Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Problems using spaces in command name #210

@weberdigital

Description

@weberdigital

Current Behavior

When you use a grafana graph for an service consists a command name with spaces, the graph won't be rendered.

Possible Solution

rawurlencode the value $this->object->check_command for the png url.
E.g. in modules/grafana/application/controllers/ImgController.php, line 316

Your Environment

  • Icinga Web 2 Grafana version: 1.3.2
  • Icinga Web 2 version and modules: 2.6.2
  • Version used, Operating System and version:
    System information:
    Platform: CentOS Linux
    Platform version: 7 (Core)
    Kernel: Linux
    Kernel version: 3.10.0
    Architecture: x86_64
  • Enabled features:
    Enabled features: api checker command ido-mysql influxdb mainlog notification

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions