8000 Update excluded_ajax_paths for sf4 by jenaye · Pull Request #26177 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Update excluded_ajax_paths for sf4 #26177

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

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
8000
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update after @ro0NL and @stof review
  • Loading branch information
jenaye committed Feb 21, 2018
commit 423abe9391c54a0c42f37a74393120330c5a480c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function getConfigTreeBuilder()
->children()
->booleanNode('toolbar')->defaultFalse()->end()
->booleanNode('intercept_redirects')->defaultFalse()->end()
->scalarNode('excluded_ajax_paths')->defaultValue('index.php?_wdt')->end()
->scalarNode('excluded_ajax_paths')->defaultValue('^/((?:index|app(_[\w]+)?)\.php/)?_wdt')->end()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps to fully clarify the regex remove ?: as well.. (it's not really needed) since you removed escaped \ also (before \\, but also not really needed).

->end()
;

Expand Down
0