Closed wazum closed 10 years ago
If you're getting urlencoded values in this ViewHelper (which seems to be the entire cause of this problem) you are most likely passing an incorrect variable to the image ViewHelper as src
argument, or there is a bug or unclear behavior in FAL / TYPO3 CMS itself, which for some reason sets urlencoded values. In any case, the fact that you require urldecode
points to a problem not related to VHS.
If all else fails: src="{urlencodedSourceString -> v:format.url.decode()}"
.
hiya!
I uploaded a file named „A_töst_filenöme_makes_Å_troubles.png“ with
'SYS/UTF8filesystem' => '1', 'BE/forceCharset' => 'utf-8', 'SYS/systemLocale' => 'en_US.UTF-8'
which works without a problem (upload, FAL, Web > List module, frontend), only the vhs media.image helper makes problems.
I fixed it with the following changes (1. the Core's getImgResource/PHP's is_file does expect raw file names (not url encoded), 2. the processed filename was urlencoded twice then)