Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Meta Service using quotes #6216

Open
lolokai opened this issue Apr 18, 2018 · 1 comment
Open

Meta Service using quotes #6216

lolokai opened this issue Apr 18, 2018 · 1 comment

Comments

@lolokai
Copy link
Contributor

lolokai commented Apr 18, 2018


BUG REPORT INFORMATION

Centreon Web version: 2.8.21

Centreon Engine version: 1.8.1

Centreon Broker version: 3.0.14

OS: CentOS 7

Additional environment details (AWS, VirtualBox, physical, etc.):
VM

Steps to reproduce the issue:

  1. Create a meta-services using a quote in the field "Output format string (printf-style)"

Describe the results you received:
The meta service is not created

Describe the results you expected:
The meta service should be create

Additional information you think important (e.g. issue happens only occasionally):

@lpinsivy
Copy link
Contributor

Yes the field "output" is not escaped before insertion into db => SQL error

vhr added a commit that referenced this issue Jun 20, 2018
vhr added a commit that referenced this issue Jun 20, 2018
kduret pushed a commit that referenced this issue Jun 20, 2018
kduret pushed a commit that referenced this issue Jun 20, 2018
kduret pushed a commit that referenced this issue Jun 20, 2018
kduret pushed a commit that referenced this issue Jun 20, 2018
kduret pushed a commit that referenced this issue Jun 20, 2018
kduret pushed a commit that referenced this issue Jun 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants