Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Err msg : "Invalid character in a Base-64 string"

Question posted by: Jon Paal (Guest) on March 21st, 2006 06:25 PM
how can I find which character is invalid in base-64 string ?


Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
George Ter-Saakov's Avatar
George Ter-Saakov
Guest
n/a Posts
March 21st, 2006
08:35 PM
#2

Re: Err msg : "Invalid character in a Base-64 string"
Not sure why do you want it but have a guess.

Are you having an errors when you have InvalidView state?

The problem is that if you have a web site on the internet there are plenty
of robots that walking around and trying to fill the <form> with spam
messages hopping it will be forwarded to email address. Thus get the spam to
the end user.

The ASP.NET detects that because those robots are changing the hidden fields
too. And the ViewState stops being valid anymore.

So in plain words i would not worry about those errors..

George.


"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message
news:%23YvCkvRTGHA.5884@TK2MSFTNGP14.phx.gbl...[color=blue]
> how can I find which character is invalid in base-64 string ?
>[/color]



Bruce Barker's Avatar
Bruce Barker
Guest
n/a Posts
March 21st, 2006
09:05 PM
#3

Re: Err msg : "Invalid character in a Base-64 string"
for base64 the valid charset is:

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwx yz0123456789+/

the = is used as filler for the last bytes, as the length must be mulitple
of 3

-- bruce (sqlwork.com)




"Jon Paal" <Jon[ nospam ]Paal @ everywhere dot com> wrote in message
news:%23YvCkvRTGHA.5884@TK2MSFTNGP14.phx.gbl...[color=blue]
> how can I find which character is invalid in base-64 string ?
>[/color]



 
Not the answer you were looking for? Post your question . . .
184,211 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors