Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanPath() ahora reemplaza las backslashes por slashes antes de real…

…izar la limpieza, para evitar conflictos en sistemas windows.
  • Loading branch information...
commit d14cd47594a1ac1439100e7a9acb75d18ac90e27 1 parent 766fa3e
@sahibalejandro authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  system/classes/QuarkString.php
View
2  system/classes/QuarkString.php
@@ -39,7 +39,7 @@ public function setCharset($charset)
*/
public function cleanPath($path)
{
- return preg_replace('/(^\/|\/$)/', '', preg_replace('/\/{2,}/', '/', $path));
+ return preg_replace('/(^\/|\/$)/', '', preg_replace('/\/{2,}/', '/', str_replace("\\", '/', $path)));
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.