diff --git a/system/Debug/Toolbar/Views/toolbar.js b/system/Debug/Toolbar/Views/toolbar.js index 9e4547b6cb35..46504e80ca25 100644 --- a/system/Debug/Toolbar/Views/toolbar.js +++ b/system/Debug/Toolbar/Views/toolbar.js @@ -762,7 +762,7 @@ var ciDebugBar = { var rowGet = this.toolbar.querySelectorAll( 'td[data-debugbar-route="GET"]' ); - var patt = /\((?:[^)(]+|\((?:[^)(]+|\([^)(]*\))*\))*\)/; + var patt = /\(.+?\)/g; for (var i = 0; i < rowGet.length; i++) { row = rowGet[i]; @@ -788,10 +788,9 @@ var ciDebugBar = { '
' + - row.innerText.replace( - patt, - '' - ) + + row.innerText.replace(patt, function (match) { + return ''; + }) + '' + "
"; } diff --git a/user_guide_src/source/changelogs/v4.7.1.rst b/user_guide_src/source/changelogs/v4.7.1.rst index 14445ae29577..3288217b8d5b 100644 --- a/user_guide_src/source/changelogs/v4.7.1.rst +++ b/user_guide_src/source/changelogs/v4.7.1.rst @@ -44,6 +44,7 @@ Bugs Fixed - **Model:** Fixed a bug where ``BaseModel::updateBatch()`` threw an exception when ``updateOnlyChanged`` was ``true`` and the index field value did not change. - **Session:** Fixed a bug in ``MemcachedHandler`` where the constructor incorrectly threw an exception when ``savePath`` was not empty. - **Toolbar:** Fixed a bug where the standalone toolbar page loaded from ``?debugbar_time=...`` was not interactive. +- **Toolbar:** Fixed a bug in the Routes panel where only the first route parameter was converted to an input field on hover. - **View:** Fixed a bug where ``View`` would throw an error if the ``appOverridesFolder`` config property was not defined. See the repo's