Index: trunk/phase3/includes/filerepo/backend/FSFileBackend.php |
— | — | @@ -469,7 +469,8 @@ |
470 | 470 | |
471 | 471 | public function current() { |
472 | 472 | // Return only the relative path and normalize slashes to FileBackend-style |
473 | | - return str_replace( '\\', '/', substr( $this->iter->current(), $this->suffixStart ) ); |
| 473 | + // Make sure to use the realpath since the suffix is based upon that |
| 474 | + return str_replace( '\\', '/', substr( realpath($this->iter->current()), $this->suffixStart ) ); |
474 | 475 | } |
475 | 476 | |
476 | 477 | public function key() { |