By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,855 Members | 1,900 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,855 IT Pros & Developers. It's quick & easy.

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

P: n/a
how can I find which character is invalid in base-64 string ?
Mar 21 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.