Date: prev next · Thread: first prev next last


Hi,

Christian Lohmaier wrote on 2011-07-30 18:24:

The problem is that the dirlisting is no standard apache listing, and
matches lighthttp listing that the parser assumes, but it fails to
detect entries as directories correctly.

thanks a lot for investigating, Christian!

the problem is that "check whether entry ends in a slash" fails
because the / is outside of the link-label

"<a href="libreoffice">libreoffice</a>/"

and thus it treats the libreoffice as file entry and the size column
contains "-" so it cannot compare.

Did you ping the mirror admin about that, maybe he can easily fix it?

Nope, that is the one used in the database.
Log story short, I changed the parser to also accept the string
"Directory" as a marker for dir-entries. So now scanning should work
with ibiblio mirror as well
(@flo: see line 640 in /usr/bin/scanner)

I had it scanned and enabled.

Thanks a lot! Can you ping Peter Pöml so he can include that fix in MirrorBrain? In case of a MirrorBrain update, your change will be removed otherwise, so it should make its way into the main code.

Thanks,
Florian

--
Florian Effenberger <floeff@documentfoundation.org>
Steering Committee and Founding Member of The Document Foundation
Tel: +49 8341 99660880 | Mobile: +49 151 14424108
Skype: floeff | Twitter/Identi.ca: @floeff

--
Unsubscribe instructions: E-mail to mirrors+help@documentfoundation.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.documentfoundation.org/www/mirrors/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.