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 |
Jump to:
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.
| Attachment | Size |
|---|---|
| patch_131.txt | 691 bytes |

#1
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
The fix is in the 5.x-1.2 release.
#3
Automatically closed -- issue fixed for two weeks with no activity.