Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Documentation excluded_ajax_paths sf4 #9267

Merged
merged 1 commit into from
Feb 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions reference/configuration/web_profiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ on the given link to perform the redirect.
excluded_ajax_paths
~~~~~~~~~~~~~~~~~~~

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

When the toolbar logs Ajax requests, it matches their URLs against this regular
expression. If the URL matches, the request is not displayed in the toolbar. This
Expand All @@ -62,7 +62,7 @@ Full Default Configuration
web_profiler:
toolbar: false
intercept_redirects: false
excluded_ajax_paths: ^/(app(_[\\w]+)?\\.php/)?_wdt
excluded_ajax_paths: ^/((index|app(_[\w]+)?)\.php/)?_wdt

.. code-block:: xml

Expand All @@ -79,6 +79,6 @@ Full Default Configuration
<web-profiler:config
toolbar="false"
intercept-redirects="false"
excluded-ajax-paths="^/(app(_[\\w]+)?\\.php/)?_wdt"
excluded-ajax-paths="^/((index|app(_[\w]+)?)\.php/)?_wdt"
/>
</container>