Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
(Not sure about the Component I selected... of course feel free to change...)
How can I exclude/something like that "ftp://" protocol links? My broken links report is getting clogged with entries like--
-
ftp://ftp.mysite.org/some-files/blah-blah-blah.pdf
-1003 invalid schema ftp [edit link settings etc.]
Thank you!
Comments
Comment #1
hass CreditAttribution: hass commentedCurrently not, sorry. You can only disable the the link check to get rid of the log entries... hopefully the module is able to verify ftp links in future, too. This is not a duplicate of #380052: Add support with non-blocking parallel link checking, but these case will also implement this as we move over to curl as curl is able to check much more link protocols than http and https what is a limitation of drupal_http_request(). For now it may be a good idea not to search for ftp links in content. I will try to fix this soon.
Comment #2
alisonGreat, thank you! Please let me know if there's anything I can do to help.
Comment #3
hass CreditAttribution: hass commentedPatch is welcome.
Comment #4
hass CreditAttribution: hass commentedDisabled all non-http(s) links for link checking until we have curl implemented. URLs with protocols like ftp:/feed:/telnet:/other will be extracted, but automatically disabled for link check.
D6: http://drupalcode.org/project/linkchecker.git/commit/24cd5df
D7: http://drupalcode.org/project/linkchecker.git/commit/a29d457
May be misleading regarding the case topic, but FTP is on the to do list for future...
Comment #6
hass CreditAttribution: hass commentedMaybe Guzzle simply works?