-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1063,6 +1063,8 @@ sub nginx_access_parse | |
&check_ipaddress($addr) || | ||
$addr =~ /^(\S+)\/(\d+)$/ && | ||
&check_ipaddress("$1") && $2 > 0 && $2 <= 32 || | ||
&check_ip6address($addr) || | ||
$addr =~ /^(\S+)\/(\d+)$/ && &check_ip6address("$1") || | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jcameron
Author
Collaborator
|
||
&error(&text('access_eaddr', $addr)); | ||
} | ||
push(@obj, { 'name' => $mode, | ||
|
4 comments
on commit 7e6f4f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, alright! Could you tag another release then to include those two latest commits?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duh, I didn't update module.info
file. Let me do it now, and you can retag it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, perfect! You already did it! Thanks! All good!
Jamie, can you explain more about
$addr =~ /^(\S+)\/(\d+)$/
and what is it checking here exactly? I mean, against which string?