mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-10 02:28:22 +00:00
If the MAC address is set then validate it is a Mac address.
This commit is contained in:
@@ -54,7 +54,7 @@ openlog("fusion-provisioning", LOG_PID | LOG_PERROR, LOG_LOCAL0);
|
||||
}
|
||||
|
||||
//prepare the mac address
|
||||
if (!isset($_GET['user_id'])) {
|
||||
if (isset($_REQUEST['mac'])) {
|
||||
//normalize the mac address to lower case
|
||||
$mac = strtolower($mac);
|
||||
//replace all non hexadecimal values and validate the mac address
|
||||
|
||||
Reference in New Issue
Block a user