Fails to cross-post - password incorrect

kmv - June 7, 2007 - 22:53
Project:LiveJournal CrossPoster
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:kmv
Status:closed
Description

There is a bug in 5.x-1.1 (might be in 4.7 too I haven't checked) which prevents ljxp from being able to cross post onto LJ - any attempt fails with a incorrect password error.

The problem is in ljxp_new_message() where the MD5 hash for the password is being calculated incorrectly. For more information on the LJ API see http://www.livejournal.com/doc/server/ljp.csp.protocol.html

I have attached a patch which works for me.

kmv.

AttachmentSize
patch_131.txt691 bytes

#1

wrunt - November 19, 2007 - 02:07
Status:needs review» fixed

Thanks for pointing out what the problem was kmv, it's fixed in cvs now. I didn't make the same change you did. The plain text password was being stored when ljxp data was being inserted, but changed to the md5 sum on update. It is now always stored as the md5 sum.

#2

Justin W Freeman - November 19, 2007 - 04:30

The fix is in the 5.x-1.2 release.

#3

Anonymous - December 3, 2007 - 04:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.