ezsystems/ezpublish-legacy — pull request #1015 by bdunogier (2014-07-02 09:55:12+00:00)
Title: Made ezroot cluster aware

> Part of [EZP-22978](http://jira.ez.no/browse/EZP-22978)

The PR does two things

### Adds an `applyServerUri` method to cluster handlers/interface
This gives cluster handlers an opportunity to change an URI so that the file is linked to its actual location. Existing handlers (FS/DFS) won't apply any transformation, while handlers such as DFS with S3 will.

### Makes `eZURI::transformUri()` call `applyServerUri()`
Makes `eZURI::transformUri()` use the newly added cluster `applyServerUri()` method (added in b8eb4ce) when called from `ezroot` (`$ignoreIndexDir == true`).