Encode URL offered in filestorage. Fixes #780
Merge pull request #793 from pafcu/filestorageurlfix

Encode URL offered in filestorage. Fixes #780