You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
encoding/base64 decoder input errors are very vague. They only give you a character number while if you look at the code there are comments stating the true reason for each error. Also perhaps if you don't want to return more specific errors you could add the character that was invalid instead of just the number.
encoding/base64
decoder input errors are very vague. They only give you a character number while if you look at the code there are comments stating the true reason for each error. Also perhaps if you don't want to return more specific errors you could add the character that was invalid instead of just the number.Example from http://golang.org/src/encoding/base64/base64.go
You end up with an error message like the following
But it'd be a lot nicer if we knew why it was illegal.
Please let me know if I should put this on the forums. The issue guidelines don't say anything about requests/suggestions for improvements.
The text was updated successfully, but these errors were encountered: