471,046 Members | 1,333 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,046 software developers and data experts.

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

how can I find which character is invalid in base-64 string ?
Mar 21 '06 #1
2 9227
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:%2****************@TK2MSFTNGP14.phx.gbl...
how can I find which character is invalid in base-64 string ?

Mar 21 '06 #2
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:%2****************@TK2MSFTNGP14.phx.gbl...
how can I find which character is invalid in base-64 string ?

Mar 21 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Lucvdv | last post: by
2 posts views Thread by Wade | last post: by
7 posts views Thread by relient | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.