diff --git a/Model/OriginalFile.php b/Model/OriginalFile.php
index <HASH>..<HASH> 100644
--- a/Model/OriginalFile.php
+++ b/Model/OriginalFile.php
@@ -109,6 +109,6 @@ class OriginalFile
 
     public function getOrginalFile()
     {
-        return base64_decode($this->original_file_base64);
+        return base64_decode(strtr($this->original_file_base64, '-_,', '+/='));
     }
 }
Fixes decoding of rubies urlsafe base<I> encode