Ticket #2565: audio.php.patch
| File audio.php.patch, 416 bytes (added by sasargen, 8 months ago) |
|---|
-
audio.php
old new 16 16 17 17 $crypt = new Crypt(); 18 18 19 $path = $crypt->decrypt( $_GET['recording'],$ARI_CRYPT_PASSWORD);19 $path = $crypt->decrypt(urlencode($_GET['recording']),$ARI_CRYPT_PASSWORD); 20 20 21 21 // strip ".." from path for security 22 22 $path = preg_replace('/\.\./','',$path);
