[ 
https://issues.apache.org/jira/browse/JSPWIKI-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033886#comment-18033886
 ] 

Ulf Dittmer commented on JSPWIKI-1183:
--------------------------------------

Yes, if memory serves. A /32 for a single IP also works.

> Support IP ranges in IfPlugin
> -----------------------------
>
>                 Key: JSPWIKI-1183
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1183
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Plugins
>    Affects Versions: 2.12.1
>            Reporter: Ulf Dittmer
>            Priority: Minor
>         Attachments: JSPWIKI-1183-patch.txt
>
>
> The IfPlugin.checkIP method has a comment "TODO: Add subnetwork matching, 
> e.g. 10.0.0.0/8". This is a patch to address this. Sorry that this does not 
> come as a PR, but the changes are limited in scope.
> (I have removed the rest of text to an attachment, as it was an endless 
> battle with getting the formatting to display the mix of text and code 
> correctly.)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to