Changeset 1499
- Timestamp:
- 02/19/08 23:18:27 (6 months ago)
- Files:
-
- trunk/upload/moderate.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/upload/moderate.php
r941 r1499 36 36 37 37 // Is get_host an IP address or a post ID? 38 if (@preg_match('/ [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/', $_GET['get_host']))38 if (@preg_match('/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/', $_GET['get_host'])) 39 39 $ip = $_GET['get_host']; 40 40 else
