2
Views
3
Comments
Crypto Extension errors ....
Question
I have a page with an encrypted parameter :

unsubscribe.aspx?contactid=IpRNke5Nd8LyW+tkPhXsvg
unsubscribe.aspx?contactid=lIC+s0ERtD4jTv2TiwiZrw==
unsubscribe.aspx?contactid=SakbrNsacGuFtgx+S9WR2g==

If I look in Servicecenter, it shows this error ... Invalid length for a Base-64 char array.

I'm using the Crypto Extension (previously from enterpriseManager) Any idea (solution) ??
2016-04-21 20-09-55
J.
 
MVP
possible it's the + or the = sign that is screwing things up.

Problem is that Crypto produces any random-char including the html-chars like &, #, + and =
so you have to encodeurl as well, or make sure there are no specific html-chars in it...

2014-02-13 10-06-38
Ricardo Silva
Like Joost said: the + is prolly screwing with the decoding of the URL parameter (it's treated as a space which is ignored by base64 encoding).
2011-06-15 10-51-22
Joop Stringer
I overcome this problem by using a GUID instead :-)
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.