mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-16 08:05:01 +00:00
Add : colon to menu item links to fix external links (#6508)
This commit is contained in:
@@ -421,7 +421,7 @@ if (!class_exists('menu')) {
|
||||
$menu_item_description = $menu['desc'];
|
||||
|
||||
//sanitize the menu link
|
||||
$menu_item_path = preg_replace('#[^a-zA-Z0-9_\-\.\&\=\?\/]#', '', $menu_item_path);
|
||||
$menu_item_path = preg_replace('#[^a-zA-Z0-9_:\-\.\&\=\?\/]#', '', $menu_item_path);
|
||||
|
||||
//check if the menu item exists and if it does set the row array
|
||||
$menu_item_exists = false;
|
||||
|
||||
Reference in New Issue
Block a user