<p dir="auto"><strong>Steps to reproduce and a minimal demo of the problem</strong><br>
Add path <code class="notranslate">/**</code> and try to reach it with some query string e.g. <a href="http://plnkr.co/edit/pnsgl3P3pfS0pT4bydvv?p=preview" rel="nofollow">http://plnkr.co/edit/pnsgl3P3pfS0pT4bydvv?p=preview</a></p>
<p dir="auto"><strong>Current behavior</strong><br>
On the wildcard route (<code class="notranslate">/**</code>) query params appears twice.</p>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
Query string should not be duplicated</p>
<p dir="auto"><strong>Other information</strong><br>
Angular beta.13</p>
<p dir="auto">I couldn't find what line causes such a behaviour. I got lost somewhere in Zone's <code class="notranslate">drainMicroTaskQueue</code></p>
<p dir="auto">While working on CJS bundles we've decided to duplicate facades code in each and every bundle. This means that if multiple bundles are loaded on the same page (say, core and http) we are executing code contained in facades twice. But it turns out that we've got a piece of code in <code class="notranslate">facade/lang.ts</code> that leads to<br>
<code class="notranslate">RangeError: Maximum call stack size exceeded</code> errors. The culprit is here:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var assertionsEnabled_ = typeof _global['assert'] !== 'undefined';
export function assertionsEnabled(): boolean {
  return assertionsEnabled_;
}

// TODO: remove calls to assert in production environment
// Note: Can't just export this and import in in other files
// as `assert` is a reserved keyword in Dart
_global.assert = function assert(condition) {
  if (assertionsEnabled_) {
    _global['assert'].call(condition);
  }
};"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">assertionsEnabled_</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-s1">_global</span><span class="pl-kos">[</span><span class="pl-s">'assert'</span><span class="pl-kos">]</span> <span class="pl-c1">!==</span> <span class="pl-s">'undefined'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-en">assertionsEnabled</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-s1">boolean</span> <span class="pl-kos">{</span>
  <span class="pl-k">return</span> <span class="pl-s1">assertionsEnabled_</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>

<span class="pl-c">// TODO: remove calls to assert in production environment</span>
<span class="pl-c">// Note: Can't just export this and import in in other files</span>
<span class="pl-c">// as `assert` is a reserved keyword in Dart</span>
<span class="pl-s1">_global</span><span class="pl-kos">.</span><span class="pl-en">assert</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-en">assert</span><span class="pl-kos">(</span><span class="pl-s1">condition</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">assertionsEnabled_</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-s1">_global</span><span class="pl-kos">[</span><span class="pl-s">'assert'</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-s1">condition</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
  <span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">This blocks <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="107428611" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/4278" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/4278/hovercard" href="https://github.com/angular/angular/issues/4278">#4278</a></p>