[Bug 14407] Limit web-based self-checkout to specific IP addresses
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14407 --- Comment #77 from David Cook <dcook@prosentient.com.au> --- (In reply to Martin Renvoize from comment #76)
We've not released yet.. perhaps we could change it to in_iprange quickly before it's set in stone forever more.
What do you think David, does that sound more appropriate?
If folk are willing, I'd say yes to changing it. How about "in_ip_ranges"? If we look at the current "sub in_ipset", we see the following line: my @allowedipranges = split(' ', $ipset); Probably makes sense to use "ranges" or "range_list" since that's the terminology used by Net::CIDR as well: https://metacpan.org/pod/Net::CIDR#@cidr_list=Net::CIDR::range2cidr(@range_l...); (Actually, if I really wanted to split hairs, I'd say "@allowedipranges" should probably be changed to "@ip_ranges", as theoretically this function could also be used to interrogate a list of IP ranges to block. Yay code re-use!) -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org