FileUpload: Symlinks cause upload to fail
When Symlinks are used in the path of the deployed application, the file upload can fail as the configured app kernel base path can differ from the upload directory base path:
KernelPath: /srv/www/webtool/public/avalon/releases/55/files/livewire
ActualPath: /srv/www/webtool/public/avalon/shared/files/livewire
This causes the path not to be stripped correctly and be carried along to be concatenated with the realpath later, causing the error
The file "/srv/www/webtool/public/avalon/releases/55/files/livewire/srv/www/webtool/public/avalon/shared/files/livewire/tbTuJwfexOWfJJc5FeJNV8zdprc8mN-metaVHJhdWVyc3BydWVjaGVfVHJhdWVyc3BydWVjaGUuY3N2-.txt" does not exist