stable
Clone or download
Read-only
This contribution makes sure that an XML import executed as root (or another privileged user) does not leave the cache in a corrupted state for the application user (i.e. codendiadm by default). Indeed, since ecc880c0cc277ad39d53d719e090fe3fe83ed1a0 HTMLPurifier might be loaded and used during the import. This contribution considers that commands executed as root are administrative commands where the performance loss is tolerable and the global stability of the instance must preserved. You should not have a lot of warnings about access issues of /var/tmp/tuleap_cache/ in PHP FPM logs when running the REST tests. Part of story #13453: finish drag'n drop images in tracker text areas Change-Id: I7c530602c43c180230072d775e219345ca70f687
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/include/Codendi_HTMLPurifier.class.php | +6 | −2 | Go to diff View file |