You are here

protected function ImageAPIOptimizeProcessorBinary::sanitizeFilename in Image Optimize (or ImageAPI Optimize) 7.2

Sanitize the given path for binary processors.

Parameters

$drupal_filepath: The file path to sanitize.

Return value

string The sanitized file path.

9 calls to ImageAPIOptimizeProcessorBinary::sanitizeFilename()
ImageAPIOptimizeProcessorAdvDef::process in plugins/imageapi_optimize/ImageAPIOptimizeProcessorAdvDef.inc
ImageAPIOptimizeProcessorAdvPng::process in plugins/imageapi_optimize/ImageAPIOptimizeProcessorAdvPng.inc
ImageAPIOptimizeProcessorJfifRemove::process in plugins/imageapi_optimize/ImageAPIOptimizeProcessorJfifRemove.inc
ImageAPIOptimizeProcessorJpegOptim::process in plugins/imageapi_optimize/ImageAPIOptimizeProcessorJpegOptim.inc
ImageAPIOptimizeProcessorJpegTran::process in plugins/imageapi_optimize/ImageAPIOptimizeProcessorJpegTran.inc

... See full list

File

plugins/imageapi_optimize/ImageAPIOptimizeProcessorBinary.inc, line 89

Class

ImageAPIOptimizeProcessorBinary

Code

protected function sanitizeFilename($drupal_filepath) {
  return drupal_realpath($drupal_filepath);
}