b64_decode is not handling white spaces. I have explicitly added code in my source code to ignore white spaces. Please add it.