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

ignore filter not working? #221

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

ignore filter not working? #221

wummel opened this issue Dec 21, 2012 · 3 comments

Comments

@wummel
Copy link
Owner

wummel commented Dec 21, 2012

Converted from SourceForge issue 2910588, submitted by aragonne

Hi there,

I ran linkchecker for a site and got a whole bunch of warnings about email links. The linkcheckerrc file has a filter in place to exclude these mailto: links but not sure why they're still being checked. I tried to look for documentation on linkchecker but could find not much info.

Here are the details of what I did:

  1. Run script: ~/website/linkchecker/lto_UK/run_link_checker_stage:
    linkchecker http://stage.labtestsonline.org.uk
  2. Linkchecker config: ~/.linkchecker/linkcheckerrc

[checking]
anchors=1
threads=5

[filtering]
ignore=
^mailto:
search/SearchForm

[output]
fileoutput=text,html

  1. output: http://svu.vh.quinn.com/linkchecker/lto_UK/linkchecker-out_091206.html

Notice in #2 how I thought the the ignore filter that specifies to ignore links that begin with mailto: doesn't appear to be ignored when you view the output in #3.

Any ideas what I might be doing wrong here?

thanks!
Steve

@wummel
Copy link
Owner Author

wummel commented Dec 21, 2012

Submitted by calvin

Linkchecker still checks the syntax of ignored URLs. A missing email-address in a mailto: link
is a syntax error, hence it is displayed even with the ignore=^mailto: configuration.

Reading the mailto rfc2368, it is syntactically allowed to have an empty email-address.
So I will downgrade the error about missing email-addresses to a warning in the next release.

Regards,
Bastian

@wummel
Copy link
Owner Author

wummel commented Dec 21, 2012

Submitted by calvin

We believe that the issue you reported is fixed in the latest version of
linkchecker which can be found in the project's Git repository under:
https://linkchecker.git.sourceforge.net/

Thank you for reporting the issue. It is now marked as pending and will
be closed automatically in two weeks. If you believe that the issue is
not fixed appropriately you can reopen this tracker item by resetting
the status from "pending" to "open".

If you have questions or further comments feel free to contact us under
[email protected].

(This message was generated automatically.)

@wummel
Copy link
Owner Author

wummel commented Dec 21, 2012

Submitted by sf-robot

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

@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