8000 update doc sf4 for excluded_ajax_paths · symfony/symfony-docs@cb938b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit cb938b2

Browse files
committed
update doc sf4 for excluded_ajax_paths
1 parent 903f302 commit cb938b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/configuration/web_profiler.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ on the given link to perform the redirect.
4444
excluded_ajax_paths
4545
~~~~~~~~~~~~~~~~~~~
4646

47-
**type**: ``string`` **default**: ``'^/(app(_[\\w]+)?\\.php/)?_wdt'``
47+
**type**: ``string`` **default**: ``'^/((index|app(_[\w]+)?).php/)?_wdt'``
4848

4949
When the toolbar logs Ajax requests, it matches their URLs against this regular
5050
expression. If the URL matches, the request is not displayed in the toolbar. This
@@ -62,7 +62,7 @@ Full Default Configuration
6262
web_profiler:
6363
toolbar: false
6464
intercept_redirects: false
65-
excluded_ajax_paths: ^/(app(_[\\w]+)?\\.php/)?_wdt
65+
excluded_ajax_paths: ^/((index|app(_[\w]+)?).php/)?_wdt
6666
6767
.. code-block:: xml
6868
@@ -79,6 +79,6 @@ Full Default Configuration
7979
<web-profiler:config
8080
toolbar="false"
8181
intercept-redirects="false"
82-
excluded-ajax-paths="^/(app(_[\\w]+)?\\.php/)?_wdt"
82+
excluded-ajax-paths="^/((index|app(_[\w]+)?).php/)?_wdt"
8383
/>
8484
</container>

0 commit comments

Comments
 (0)
0