Comments (2)
We actually encountered the same problem with white space, after some investigation it seems that the function cubeFromParams($params)
is the cause, as the URL is not decoded when the cube is created by that function.
I did find a solution which is as follows:
Edit cube/application/controllers/IndexController.php
Find:
$cube->slice($param[0], $param[1]);
Change to:
$cube->slice($param[0], urldecode($param[1]));
I did initially see if decoding the name aka $param[0]
would allow us to use custom variable names with spaces (and upper cases) but this is more of an architectural limitation of Icinga2 as a whole as it doesn't seem to "escape" the custom variable names when used with database commands which results in errors.
Not sure if this also works with umlauts but I would imagine that it would.
Simon.
from icingaweb2-module-cube.
#17 is merged. Closed.
from icingaweb2-module-cube.
Related Issues (20)
- Cube details are not filtered
- Cube detail view: Long action link title is not rendered correctly
- Operator select too wide in search editor
- Icinga DB: Custom variable denylists and protections are not respected
- IdoController: Fails remove icingadb control params
- Group services by servicegroup
- Vertically align cubes in 2-dimensional grid
- Cube module does not work if icingadb-web is disabled or missing HOT 2
- IdoController throws `Got no such dimension: "resolved"` error HOT 1
- Cube (ido) does not work in Dashboards anymore HOT 1
- Cube: Trait 'Icinga\\Module\\Icingadb\\Common\\Auth' not found in ... HOT 1
- Host/Service status HOT 1
- Add default sort by severity
- Failed to load dimensions
- Unable to load 3 dimensions
- Don't explicitly add dashboard tabs extension
- Preserve `format` query param
- Failed to render filtered cube dimensions
- PHP deprecated errors
- Undefined property when sorting cubes for severity in some views HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icingaweb2-module-cube.