Re: Archived-At links - another non-working example
Hi Jeff, *, On Tue, Sep 3, 2013 at 6:15 AM, Jeff Breidenbach wrote: > I've now had some time to spruce up the search feature. Amazing what > progress Lucene has made in the last few years. Search is slightly > faster now, there is less code on our end, and I found and fixed a couple of > rare bugs involving HTML escaping. Ah, cool :-) > What I can't do is reproduce your problem; it works fine for me. We seem to > be calculating the link differently. Is something unclear in the > documentation? Hmm. Sorry for not checking whether the hash actually is correct - and no, the documentation is not lacking - we're basically using the exact same code. But I got what went wrong at our end: The mail was not only sent to the list, but also to another addressee, so it did not create the hash with the wrong email. Apparently something changed in the mailinglistmanager we use.. Thanks for investigation, and sorry for the false alarm. ciao Christian -- To unsubscribe, send mail to [email protected].
Re: Archived-At links - another non-working example
I've now had some time to spruce up the search feature. Amazing what progress Lucene has made in the last few years. Search is slightly faster now, there is less code on our end, and I found and fixed a couple of rare bugs involving HTML escaping. What I can't do is reproduce your problem; it works fine for me. We seem to be calculating the link differently. Is something unclear in the documentation? http://www.mail-archive.com/faq.html#listserver -Jeff >>> import hashlib >>> import base64 >>> message_id = "[email protected]" >>> list_post = "[email protected]" >>> sha = hashlib.sha1(message_id) >>> sha.update(list_post) >>> hash = base64.urlsafe_b64encode(sha.digest()) >>> url = "http://go.mail-archive.com/%s"; % hash >>> print url http://go.mail-archive.com/GNXPfUlFDrZhnUZ4SH7cDfXZSKQ= On Tue, Jul 30, 2013 at 3:47 AM, Christian Lohmaier wrote: > Hi Jeff, *, > > we stumbled across another non-working archive-link - the targeted > message is in the archive, and newer and older messages are accessible > using the hash-URLs. > > The message in question is: > http://www.mail-archive.com/[email protected]/msg15830.html > and the corresponding, non-working archived-at link is > http://go.mail-archive.com/c-LzIp2g0mD_PUzGjm4_-yBorXU= > > Contrary to the problems with the links in the past, searching by the > message-ID alone returns the result <[email protected]> > > Hope you can dig up what is wrong. > > ciao > Christian > > > -- > To unsubscribe, send mail to [email protected]. -- To unsubscribe, send mail to [email protected].
