Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-a --anchor option not working on served files #366

Closed
wummel opened this issue Dec 21, 2012 · 2 comments
Closed

-a --anchor option not working on served files #366

wummel opened this issue Dec 21, 2012 · 2 comments

Comments

@wummel
Copy link
Owner

wummel commented Dec 21, 2012

Converted from SourceForge issue 3577743, submitted by natke

I have a simple html file:

Pointing to non-existent anchor.

Running linkchecker on this file as a local file correctly picks up the missing anchor:

linkchecker -a test.html
LinkChecker 8.0 Copyright (C) 2000-2012 Bastian Kleineidam
LinkChecker comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution.
Get the newest version at http://linkchecker.sourceforge.net/
Write comments and bugs to http://sourceforge.net/projects/linkchecker/support
Support this project at http://linkchecker.sourceforge.net/donations.html

Start checking at 2012-10-17 12:22:29+011

URL #anchor' Nameanchor'
Parent URL file:///home/nkershaw/test.html, line 7, col 29
Real URL file:///home/nkershaw/test.html
D/L time 0.000 seconds
Size 157B
Info 1 URL parsed.
Warning Anchor `anchor' not found. Available anchors: .
Result Valid

Statistics:
Content types: 0 image, 2 text, 0 video, 0 audio, 0 application, 0 mail and 0 other.
URL lengths: min=31, max=31, avg=31.

That's it. 2 links checked. 1 warning found. 0 errors found.
Stopped checking at 2012-10-17 12:22:29+011 (0.04 seconds)

However running this check on the file when it is being served does not:

linkchecker -a http://test.html
LinkChecker 8.0 Copyright (C) 2000-2012 Bastian Kleineidam
LinkChecker comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution.
Get the newest version at http://linkchecker.sourceforge.net/
Write comments and bugs to http://sourceforge.net/projects/linkchecker/support
Support this project at http://linkchecker.sourceforge.net/donations.html

Start checking at 2012-10-17 12:23:38+011

Statistics:
Content types: 0 image, 2 text, 0 video, 0 audio, 0 application, 0 mail and 0 other.
URL lengths: min=59, max=59, avg=59.

That's it. 2 links checked. 0 warnings found. 0 errors found.
Stopped checking at 2012-10-17 12:23:38+011 (0.04 seconds)

Running LinkChecker version 8.0 on:

Linux version 2.6.23.1-42.fc8 ([email protected]) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Tue Oct 30 13:18:33 EDT 2007

@wummel
Copy link
Owner Author

wummel commented Dec 21, 2012

Submitted by calvin

We believe that the issue you reported is fixed in the source repository
of linkchecker which can be found under:
https://linkchecker.git.sourceforge.net/

Changelog entry:

  • checking: Fix anchor checking of cached HTTP URLs.
    Closes: SF bug #3577743

Thank you for reporting the issue. It is now marked as pending and will
be closed after the next release. If you believe that the issue is
not fixed appropriately just add a comment to this ticket.

(This message was generated automatically.)

@wummel
Copy link
Owner Author

wummel commented Dec 21, 2012

Submitted by calvin

A new version 8.2 of linkchecker has been
released on 9.11.2012.
Therefore this bug will be closed. If you think this issue is not
solved, please open a new bug or feature request.

@wummel wummel closed this as completed Dec 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant