Fix phras-82 sanitize feed url's

This commit is contained in:
Nicolas Le Goff
2014-04-23 12:31:11 +02:00
parent 721fd9e909
commit d716c8e400
5 changed files with 24 additions and 27 deletions

View File

@@ -173,8 +173,8 @@ class Feed_Entry_Adapter implements Feed_Entry_Interface, cache_cacheableInterfa
public function get_link()
{
$href = sprintf(
'%slightbox/feeds/entry/%d/'
, $this->app['phraseanet.registry']->get('GV_ServerName')
'%s/lightbox/feeds/entry/%d/'
, rtrim($this->app['phraseanet.registry']->get('GV_ServerName'), '/')
, $this->get_id()
);