commit: framework/Token Token.php

"Michael M Slusarz" <[email protected]>
Newsgroups gmane.comp.horde.cvs
Message-ID <[email protected]>
slusarz     2008-11-24 14:05:42 EST

  Modified files:
    Token                Token.php 
  Log:
  Not sure if I am missing something here, but revision 1.52 broke token
  checking in two places: 1) the value was being B64 encoded but then never
  being B64 decoded later, and 2) sha1 returns a 40-byte code but the
  SQL schema only allows 32-byte IDs.  Go back to using md5() and decode token
  when verifying, but I'm not sure this is what was originally intended (although
  it makes it possible for me to send messages in IMP again).
  
  Revision  Changes    Path
  1.53      +3 -2      framework/Token/Token.php

  Chora Links:
  http://cvs.horde.org/diff.php/framework/Token/Token.php?r1=1.52&r2=1.53&ty=u

--
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.