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

Merge release-21.04.17 into 21.04.x #11606

Merged
merged 17 commits into from
Aug 23, 2022
Merged

Merge release-21.04.17 into 21.04.x #11606

merged 17 commits into from
Aug 23, 2022

Conversation

tuntoja
Copy link
Contributor

@tuntoja tuntoja commented Aug 22, 2022

Description

Merge release-21.04.17 dans 21.04.x

Please include a short resume of the changes and what is the purpose of PR. Any relevant information should be added to help:

  • QA Team (Quality Assurance) with tests.
  • reviewers to understand what are the stakes of the pull request.

Fixes # (issue)

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

  • 21.04.x
  • 21.10.x
  • 22.04.x
  • 22.10.x (master)

How this pull request can be tested ?

Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.

Any relevant details of the configuration to perform the test should be added.

Checklist

Community contributors & Centreon team

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (master, maintenance).

kduret and others added 17 commits August 6, 2022 19:45
* Sanitize and bind ACL host dependency queries

* fix issues
* Sanitize and bind ACL action access queries

_ sanitize if possible each variables inserted in a query

_ use PDO prepared statement and bind() method

_ Do not use $pearDB->escape on which is for examples useless on integers and on non closed HTML tags (svg, img, etc)

* fix line length

* fix failed checks
* Sanitize and bind ACL class queries

Queries   sanitized  and bound using PDO statement

* fix spaces

spaces between (int) cast and variables

* update file delete spaces after comma

* change variables names due to a review

* Line exceeds 120 characters; contains 123 characters
* sanitizing and binding acl actions queries

* fix missing bind
* Sanitizing and binding broker listing queries

* applying suggested changes
* sanitize and bind generate image queries

* adding throw exception

* applying suggested changes

* Update www/include/views/graphs/generateGraphs/generateImage.php

Co-authored-by: Kevin Duret <kduret@centreon.com>

Co-authored-by: Kevin Duret <kduret@centreon.com>
* sanitize query in centreonXmlbgRequest class

* add closeCursor func to resolve conv
…1569)

* sanityze 2 insert queries

* spaces removed in a query
@tuntoja tuntoja requested review from a team, JKancel, jdelpierre, TamazC and dmyios and removed request for a team August 22, 2022 15:45
@sonarqube-decoration
Copy link

@tuntoja tuntoja merged commit 16d8eee into 21.04.x Aug 23, 2022
@tuntoja tuntoja deleted the release-21.04.17 branch August 23, 2022 08:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants