Skip to content

Commit

Permalink
Completely clear the URI component when possible
Browse files Browse the repository at this point in the history
  • Loading branch information
versable committed Mar 2, 2020
1 parent 0311b99 commit c9e69e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flamegraph.pl
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,8 @@ sub flow {
}
if (uri.slice(-1) == "&")
uri = uri.substring(0, uri.length - 1);
if (uri == '?')
uri = window.location.href.split('?')[0];
return uri;
}
function find_child(node, selector) {
Expand Down

0 comments on commit c9e69e5

Please sign in to comment.