Join GitHub today
Replace all base64 decoding errors with BadData. #27
referenced this pull request
Jan 4, 2014
That's not something that should happen. Invalid data is invalid, the fact that removing some characters might produce a valid signature doesn't matter. If that's something you want to happen, write a custom Serializer subclass (although you should probably fix the thing sending you bad data instead).