{"action":"closed","issue":{"url":"https://api.github.com/repos/FluidTYPO3/vhs/issues/865","labels_url":"https://api.github.com/repos/FluidTYPO3/vhs/issues/865/labels{/name}","comments_url":"https://api.github.com/repos/FluidTYPO3/vhs/issues/865/comments","events_url":"https://api.github.com/repos/FluidTYPO3/vhs/issues/865/events","html_url":"https://github.com/FluidTYPO3/vhs/issues/865","id":96583481,"number":865,"title":"v:resource.image does not respect fully qualified uri's","user":{"login":"mischka","id":149341,"avatar_url":"https://avatars.githubusercontent.com/u/149341?v=3","gravatar_id":"","url":"https://api.github.com/users/mischka","html_url":"https://github.com/mischka","followers_url":"https://api.github.com/users/mischka/followers","following_url":"https://api.github.com/users/mischka/following{/other_user}","gists_url":"https://api.github.com/users/mischka/gists{/gist_id}","starred_url":"https://api.github.com/users/mischka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mischka/subscriptions","organizations_url":"https://api.github.com/users/mischka/orgs","repos_url":"https://api.github.com/users/mischka/repos","events_url":"https://api.github.com/users/mischka/events{/privacy}","received_events_url":"https://api.github.com/users/mischka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-22T14:35:42Z","updated_at":"2015-07-23T09:48:55Z","closed_at":"2015-07-23T09:48:55Z","body":"I use http://typo3.org/extensions/repository/view/aus_driver_local_cdn as File Storege Driver.\r\nSo the image uri is http://cdn.mydomain.tld/my-image.jpg but the `ImageViewHelper` encodes the uri so my image.source is `http%3A//cdn.mydomain.tld/my-image.jpg` . The problem is in the `preprocessImages` and the `preprocessSourceUri`-method in the `FluidTYPO3\\Vhs\\ViewHelpers\\Resource\\AbstractImageViewHelper`, there is no check for a fully qualified uri\r\n\r\n    $imageSource = $GLOBALS['TSFE']->absRefPrefix . GeneralUtility::rawUrlEncodeFP($imageInfo[3]);\r\n\r\nto\r\n\r\n    if(GeneralUtility::isValidUrl($imageInfo[3])) {\r\n        $imageSource = $imageInfo[3];\r\n    } else {\r\n        $imageSource = $GLOBALS['TSFE']->absRefPrefix . GeneralUtility::rawUrlEncodeFP($imageInfo[3]);\r\n    }\r\n\r\n"}}