-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Feature request
Which Nextcloud Version are you currently using: (see administration page)
29.0.9
Describe the solution you'd like
Enter a white list IP without a mask should result in a white list item with IPv4/32 or IPv6/64 default mask.
For that to work:
- the ADD button has to be enabled also with an empty mask field, which is done now in
computed: disabled()
- the mask field has to be parsed for "empty" in
methods: addWhitelist
- the IP has to be parsed if it is IPv4 or IPv6
- and in case the mask is empty the default /32 or /64 (depending on IP type) has to be entered silently
jameskimmel