diff --git a/common/contrib/print/SA-CONTRIB-2018-063.patch b/common/contrib/print/SA-CONTRIB-2018-063.patch index 67902dcb9638b0aec8629f54830cb944bc24cd4f..10c82878948a73dab3eb4e59025fb5ffff54314e 100644 --- a/common/contrib/print/SA-CONTRIB-2018-063.patch +++ b/common/contrib/print/SA-CONTRIB-2018-063.patch @@ -1,5 +1,5 @@ diff --git a/print_pdf/print_pdf.pages.inc b/print_pdf/print_pdf.pages.inc -index 1f1fb92..6999cb8 100644 +index 1f1fb92..5c330a8 100644 --- a/print_pdf/print_pdf.pages.inc +++ b/print_pdf/print_pdf.pages.inc @@ -110,6 +110,9 @@ function print_pdf_generate_path($path, $cid = NULL, $pdf_filename = NULL) { @@ -28,7 +28,7 @@ index 1f1fb92..6999cb8 100644 } + // Prevent options that could result in execution of arbitrary commands. -+ $wkhtmltopdf_options = escapeshellcmd($wkhtmltopdf_options); ++ $print_pdf_wkhtmltopdf_options = escapeshellcmd($print_pdf_wkhtmltopdf_options); + $version = _print_pdf_wkhtmltopdf_version();