Skip to content

Commit

Permalink
bug #17454 Allow absolute URLs to be displayed in the debug toolbar (…
Browse files Browse the repository at this point in the history
…javiereguiluz)

This PR was merged into the 2.7 branch.

Discussion
----------

Allow absolute URLs to be displayed in the debug toolbar

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12221
| License       | MIT
| Doc PR        | -

If you agree with the original issue, this should do the trick. If you don't agree, please explain the reasons and close #12221. Thanks!

Commits
-------

11b63ff Allow absolute URLs to be displayed in the debug toolbar
  • Loading branch information
fabpot committed Jan 25, 2016
2 parents a1143ed + 11b63ff commit 36c7262
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 36c7262

Please sign in to comment.