dolibarr/dev
MDW ab8daf516f
Qual: Remove SQL injection suppressions from Phan baseline (#39450)
* Qual: Remove SQL injection suppressions from Phan baseline

# Qual: Remove SQL injection suppressions from Phan baseline

- Removed SqlInjection suppressions from baseline.txt
- Removed SqlInjectionUnquotedEscape suppressions from baseline.txt

* Qual: Improve SQL query escaping and formatting in contact list

# Qual: Improve SQL query escaping and formatting in contact list

Improved the SQL query escaping for compatibility with SqlInjection.

Does not fix the inappropriate/incomplete escaping through usage of the 'escapeforlike' for REGEX or PGSQL '~'.

* Qual: Add SQLInjection suppression comments

# Qual: Add SQLInjection suppression comments

Added SQLInjection suppression directives:
- In modules_import.class.php, for json_encode operations.
- In html.formproduct.class.php, for expression "sanitized" by $db->order().
- In html.formwebportal.class.php, for the WHERE clause conditions (supposes safe argument).

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-08-11 02:21:54 +02:00
..
build PHPStan > Update baseline (#39408) 2026-08-06 17:50:40 +02:00
examples fix: dev/examples/zapier/package.json to reduce vulnerabilities (#37071) 2026-02-04 14:48:57 +01:00
initdata
initdemo Clean dump file 2026-06-04 23:28:05 +02:00
resources Doc 2026-05-28 19:48:52 +02:00
setup Qual: Update LanguageOfCommentsSniff to avoid PHP7 incompatibility (#39032) 2026-07-01 16:44:17 +02:00
skeletons Clean files 2026-01-07 19:01:54 +01:00
tools Qual: Remove SQL injection suppressions from Phan baseline (#39450) 2026-08-11 02:21:54 +02:00
translation Fix showunused option in sanity_check_trans_missing_unused.sh 2026-06-27 16:51:54 +02:00
.gitignore
dolibarr_changes.txt Automated merge from 23.0 to develop 2026-07-15 02:06:09 +02:00
lockedfiles.txt Test check on checksum 2026-06-04 22:57:30 +02:00
pullmerge.sh Enhance merge tool 2026-03-15 12:13:00 +01:00
README

README (English)
--------------------------------

This directory contains sub-directories to provide tools or documentation for developers.

Note: All files in this directory are in the source repository only and are not provided with a standard release. They are useless to make Dolibarr working.

You may find a more complete documentation on Dolibarr on the wiki:

https://wiki.dolibarr.org/

and on

https://doxygen.dolibarr.org/