mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-01 11:34:41 +00:00
Ignore irc:// URLs.
This commit is contained in:
parent
59ac6ffb5c
commit
17ce930611
5 changed files with 32 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
5.5 "" (released xx.xx.2010)
|
||||
5.5 "Red" (released xx.xx.2010)
|
||||
|
||||
Fixes:
|
||||
- checking: Do not check content of already cached URLs.
|
||||
|
|
@ -10,7 +10,8 @@ Fixes:
|
|||
configured.
|
||||
- logging: Correctly quote edge labels of graph output formats and
|
||||
remove whitespace.
|
||||
- checking: Fix checking for external domain after HTTP redirection.
|
||||
- checking: Make sure the check for external domain is done after all
|
||||
HTTP redirections.
|
||||
|
||||
Changes:
|
||||
- cmdline: Don't log a warning if URL has been redirected.
|
||||
|
|
@ -20,13 +21,16 @@ Changes:
|
|||
- logging: Changed comment format in GML output to be able to load the
|
||||
graph in gephi.
|
||||
- gui: Remove timeout and thread options.
|
||||
- checking: Do not report irc:// hyperlinks as errors, ignore them
|
||||
instead.
|
||||
Closes: SF bug #3106302
|
||||
|
||||
Features:
|
||||
- gui: Add command to save the parent URL source in a local file.
|
||||
- gui: Show configuration files in option dialog and allow them to
|
||||
be edited.
|
||||
Closes: SF bug #3102201
|
||||
- gui: Show detailed URL properties on double click.
|
||||
- gui: Added dialog to show detailed URL properties on double click.
|
||||
|
||||
|
||||
5.4 "How to train your dragon" (released 26.10.2010)
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@ prominent of them should be JavaScript links.</p>
|
|||
<li><code>find:</code> (Mozilla specific)</li>
|
||||
<li><code>gopher:</code> (Gopher)</li>
|
||||
<li><code>imap:</code> (internet message access protocol)</li>
|
||||
<li><code>irc:</code> (internet relay chat)</li>
|
||||
<li><code>isbn:</code> (ISBN (int. book numbers))</li>
|
||||
<li><code>javascript:</code> (JavaScript)</li>
|
||||
<li><code>ldap:</code> (Lightweight Directory Access Protocol)</li>
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ checking. All connection check types are described below.
|
|||
- ``find:`` (Mozilla specific)
|
||||
- ``gopher:`` (Gopher)
|
||||
- ``imap:`` (internet message access protocol)
|
||||
- ``irc:`` (internet relay chat)
|
||||
- ``isbn:`` (ISBN (int. book numbers))
|
||||
- ``javascript:`` (JavaScript)
|
||||
- ``ldap:`` (Lightweight Directory Access Protocol)
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ acap # application configuration access protocol
|
|||
|dav # dav
|
||||
|fax # fax
|
||||
|imap # internet message access protocol
|
||||
|ircs? # internet relay chat
|
||||
|ldap # Lightweight Directory Access Protocol
|
||||
|mailserver # Access to data available from mail servers
|
||||
|mid # message identifier
|
||||
|
|
|
|||
|
|
@ -34,3 +34,25 @@ class TestUnknown (LinkCheckTest):
|
|||
u"valid",
|
||||
]
|
||||
self.direct(url, resultlines)
|
||||
|
||||
def test_irc (self):
|
||||
url = u"irc://example.org"
|
||||
nurl = self.norm(url)
|
||||
resultlines = [
|
||||
u"url %s" % url,
|
||||
u"cache key %s" % nurl,
|
||||
u"real url %s" % nurl,
|
||||
u"warning Irc URL ignored.",
|
||||
u"valid",
|
||||
]
|
||||
self.direct(url, resultlines)
|
||||
url = u"ircs://example.org"
|
||||
nurl = self.norm(url)
|
||||
resultlines = [
|
||||
u"url %s" % url,
|
||||
u"cache key %s" % nurl,
|
||||
u"real url %s" % nurl,
|
||||
u"warning Ircs URL ignored.",
|
||||
u"valid",
|
||||
]
|
||||
self.direct(url, resultlines)
|
||||
|
|
|
|||
Loading…
Reference in a new issue