sonata-project/SonataMediaBundle — pull request #180 by Briareos (2012-08-05 17:06:26+00:00)
Title: Fix public URL generation in LiipImagineThumbnail

(resubmitting this because I messed up branches)
LiipImagineThumbnail::generatePublicUrl returns a path with two leading slashes (one added by Router::generate and the other by ImageProvider::getCdnPath), which at the end results in a path with three leading slashes, because ImageProvider::getCdnPath gets called again by ImageProvider::generatePublicUrl.
FormatThumbnail::generatePublicUrl is an example of a working thumbnail provider that returns a path with no leading slashes.

The issue is documented here: https://groups.google.com/d/msg/sonata-users/xstEkej6TqY/ZcNYvGLxNQEJ