Skip to content

Commit

Permalink
URI Encode parameters in right nav menu, fixes blacklist when number …
Browse files Browse the repository at this point in the history
…starts with plus sign. Bump framework to release 2.12.0.2
  • Loading branch information
asternic committed Jul 11, 2024
1 parent 629e644 commit c3683dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion framework/amp_conf/htdocs/admin/functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,8 @@ function drawListMenu($results, $type, $dispnum, $extdisplay, $add_extra_param='
$tooltipcontent = htmlspecialchars($result[1]);
$tooltip = " data-title=\"{$tooltipcontent}\" ";

echo "<a".(($extdisplay==$result[0]) ? " class='current $extracss'":" class='$extracss'"). " {$tooltip} href=\"config.php?type=".$type."&display=".$dispnum."&extdisplay={$result[0]}${extraparam}\" $unpoly_attributes>{$label}</a></li>\n";
$extencoded = urlencode($result[0]);
echo "<a".(($extdisplay==$extencoded) ? " class='current $extracss'":" class='$extracss'"). " {$tooltip} href=\"config.php?type=".$type."&display=".$dispnum."&extdisplay={$extencoded}${extraparam}\" $unpoly_attributes>{$label}</a></li>\n";
}
}
echo "</ul>\n";
Expand Down
3 changes: 2 additions & 1 deletion framework/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
<modtype>framework</modtype>
<repo>standard</repo>
<name>IssabelPBX Framework</name>
<version>2.12.0.0</version>
<version>2.12.0.1</version>
<publisher>Issabel Foundation</publisher>
<license>GPLv3+</license>
<licenselink>http://www.gnu.org/licenses/gpl-3.0.txt</licenselink>
<candisable>no</candisable>
<canuninstall>no</canuninstall>
<changelog>
*2.12.0.1* URI Encode parameters in right nav. Fixed problems with blacklist module.
*2.12.0.0* Newer GUI, standarize module components
*2.11.0.49* Spoken/ASR support
*2.11.0.48* Multi Park, ODBC functions, Supports for Asterisk 16
Expand Down

0 comments on commit c3683dc

Please sign in to comment.