Allow absolute URLs to be displayed in the debug toolbar

This commit is contained in:
Javier Eguiluz 2016-01-20 10:38:59 +01:00
parent 6ec5537aed
commit 11b63ff686

View File

@ -223,7 +223,7 @@
path = url.substr({{ (request.schemeAndHttpHost ~ request.basePath)|length }});
}
if (path.substr(0, 1) === '/' && !path.match(new RegExp({{ excluded_ajax_paths|json_encode|raw }}))) {
if (!path.match(new RegExp({{ excluded_ajax_paths|json_encode|raw }}))) {
var stackElement = {
loading: true,
error: false,