[WooCommerce Analytics] Support for Search and Landing Page #66743
Annotations
4 errors and 1 warning
Run phpcs:
projects/packages/woocommerce-analytics/src/class-universal.php#L71
Detected usage of a non-sanitized, non-validated input variable _SERVER: "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" (WordPress.Security.ValidatedSanitizedInput.InputNotValidatedNotSanitized)
|
Run phpcs:
projects/packages/woocommerce-analytics/src/class-universal.php#L71
Detected usage of a non-sanitized, non-validated input variable _SERVER: "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" (WordPress.Security.ValidatedSanitizedInput.InputNotValidatedNotSanitized)
|
Run phpcs:
projects/packages/woocommerce-analytics/src/class-woo-analytics-trait.php#L266
$_COOKIE['woocommerceanalytics_session'] not unslashed before sanitization. Use wp_unslash() or similar (WordPress.Security.ValidatedSanitizedInput.MissingUnslash)
|
Run phpcs
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading