[cvs] commit: framework/Token Token.php

Michael M Slusarz slusarz at horde.org
Mon Nov 24 19:05:42 UTC 2008


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


More information about the cvs mailing list