<p dir="auto">Hello,</p>
<p dir="auto">I have noticed not all of my AJAX requests are catched by the new feature of 2.6 in WebProfilerBundle.</p>
<p dir="auto">If you create an url with the twig function <code class="notranslate">url</code> they aren't recognized. With urls generated by <code class="notranslate">path</code> it works.</p>
<p dir="auto">I am on version 2.6.</p>
<p dir="auto">I am just testing the new ajax debug toolbar and my request are not visible in the profiler.<br>
It works if the url are relatives and not absolute.<br>
"<a href="http://localhost/sf_test/app_dev.php/demo/test" rel="nofollow">http://localhost/sf_test/app_dev.php/demo/test</a>" is not handled, but "/sf_test/app_dev.php/demo/test" works.</p>
<p dir="auto">That seems normal regarding this code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/* prevent logging AJAX calls to static and inline files, like templates */
if (url.substr(0, 1) === '/' &amp;&amp; !url.match(new RegExp(&quot;{{ excluded_ajax_paths }}&quot;))) {"><pre class="notranslate"><code class="notranslate">/* prevent logging AJAX calls to static and inline files, like templates */
if (url.substr(0, 1) === '/' &amp;&amp; !url.match(new RegExp("{{ excluded_ajax_paths }}"))) {
</code></pre></div>
<p dir="auto"><a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig#L181">https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig#L181</a></p>
<p dir="auto">excluded path does not work also:<br>
"<a href="http://localhost/sf_test/app_dev.php/_wdt" rel="nofollow">http://localhost/sf_test/app_dev.php/_wdt</a>" does not match regexp "^/_wdt".</p>
<p dir="auto">Did I miss something ?</p>
<p dir="auto">tested on Firefox and Chrome (Ubuntu)</p>