mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-25 19:00:03 +03:00
related to #1876 Simplified regex for ip filter
This commit is contained in:
parent
721384ffc4
commit
9c0945d2ff
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ $display_thumbnails = array('no_display_thumbnail' => l10n('No display'),
|
|||
|
||||
check_status(ACCESS_ADMINISTRATOR);
|
||||
|
||||
check_input_parameter('filter_ip', $_GET, false, '/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/');
|
||||
check_input_parameter('filter_ip', $_GET, false, '/^[0-9.]+$/');
|
||||
check_input_parameter('filter_image_id', $_GET, false, '/^\d+$/');
|
||||
check_input_parameter('filter_user_id', $_GET, false, '/^\d+$/');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue