[Zope-dev] Incorrect Padding?
Martijn Pieters
mj@digicool.com
Mon, 24 Jul 2000 20:51:11 +0200
On Mon, Jul 24, 2000 at 07:49:34PM +0100, Chris Withers wrote:
> Steve Alexander wrote:
> > Martijn Pieters wrote:
> > >
> > > Oops. You took out the strip. But IIRC, base64 does a strip as well.
> >
> > So it does!
> >
> > >>> from base64 import *
> > >>> s = encodestring('foo')
> > >>> decodestring(s)
> > 'foo'
> > >>> decodestring(s+' ')
> > 'foo'
> > >>> decodestring(' '+s)
> > 'foo'
>
> So what was causing the original error then?
Buggy client?
--
Martijn Pieters
| Software Engineer mailto:mj@digicool.com
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
| ZopeStudio: http://www.zope.org/Products/ZopeStudio
-----------------------------------------------------