]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit - data/rbot/plugins/url.rb
url plugin: add list of hosts for which no link info should be retrieved
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 10 Sep 2007 09:36:29 +0000 (09:36 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 10 Sep 2007 09:36:29 +0000 (09:36 +0000)
commiteea3e8b5cf1bd6c16dbae2bfa62e271bca4ac9a6
tree14ef7028f5ff3841b5757445c75f3e2891bec5e8
parent71cb9c59fd882fbf147f30c0302e4c6ee656df98
url plugin: add list of hosts for which no link info should be retrieved

The url plugin would display link info for urls such as http://127.0.0.1:631/printers and other private addresses, thus being a potential security threat. Disable info retrieval for these hosts, and make the host list configurable.
data/rbot/plugins/url.rb