<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ ] bug report =&gt; search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[ ] bug report =&gt; search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Expected behavior</strong><br>
Posibility to have multiple query params with the same name <code class="notranslate">url?foo=bar&amp;foo=baz</code></p>
<p dir="auto"><strong>Reproduction of the problem</strong><br>
not currently possible with angular2 and router</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
align with <code class="notranslate">@angular/http URLSearchParams</code></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.X<br>
2.0.0</li>
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]<br>
all</li>
<li><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
all</li>
</ul>
<p dir="auto"><strong>I'm submitting a ...</strong>  (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x ] bug report =&gt; search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong></p>
<p dir="auto">Currently when going to a url with multiple query parameters with the same key the DefaultUrlSerializer is removing all but the last one from the url.</p>
<p dir="auto"><code class="notranslate">/something/route?room=a1&amp;room=a4&amp;room=a6</code></p>
<p dir="auto">This link will be rewritten to:</p>
<p dir="auto"><code class="notranslate">/something/route?room=a6</code></p>
<p dir="auto"><strong>Expected/desired behavior</strong></p>
<p dir="auto">The url should remain the same and keep all parameters.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.6</li>
<li><strong>Browser:</strong> all</li>
<li><strong>Language:</strong> Typescript</li>
</ul>
<p dir="auto">This pull request fixes the issue but it's my first one - <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175229875" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/11373" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/11373/hovercard" href="https://github.com/angular/angular/pull/11373">#11373</a></p>