[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83463] [Ruby trunk Feature#10912] Add method(s) to IPAddr for determining whether an address is link local

From: knu@...
Date: 2017-10-21 13:35:08 UTC
List: ruby-core #83463
Issue #10912 has been updated by knu (Akinori MUSHA).


Added, thanks for the suggestion.

----------------------------------------
Feature #10912: Add method(s) to IPAddr for determining whether an address is link local
https://bugs.ruby-lang.org/issues/10912#change-67455

* Author: postmodern (Hal Brodigan)
* Status: Closed
* Priority: Normal
* Assignee: knu (Akinori MUSHA)
* Target version: 
----------------------------------------
I was surprised to find that IPAddr has no methods for determining whether an address is a link local address (ie RFC1918 or RFC5735). This would make it easy to blacklist local IP addresses from services.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next