Skip to content

Commit

Permalink
feature #33621 Revert "feature #33507 [WebProfiler] Deprecated interc…
Browse files Browse the repository at this point in the history
…ept_redirects in 4.4 (dorumd)" (lyrixx)

This PR was squashed before being merged into the 4.4 branch (closes #33621).

Discussion
----------

Revert "feature #33507 [WebProfiler] Deprecated intercept_redirects in 4.4 (dorumd)"

This reverts commit 21a05de, reversing
changes made to 24faadc.

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes
| Deprecations? |
| Tickets       | Fix #33467
| License       | MIT
| Doc PR        |

Commits
-------

e767bb1 Revert \"feature #33507 [WebProfiler] Deprecated intercept_redirects in 4.4 (dorumd)\"
  • Loading branch information
fabpot committed Sep 23, 2019
2 parents c1ab2c6 + e767bb1 commit 3f96ef2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions UPGRADE-4.4.md
Expand Up @@ -323,8 +323,6 @@ WebProfilerBundle

* Deprecated the `ExceptionController` class in favor of `ExceptionErrorController`
* Deprecated the `TemplateManager::templateExists()` method
* Deprecated the `web_profiler.intercept_redirects` config option,
toolbar for the redirected resource contains a link to the redirect response profile instead.

WebServerBundle
---------------
Expand Down
2 changes: 0 additions & 2 deletions UPGRADE-5.0.md
Expand Up @@ -577,8 +577,6 @@ WebProfilerBundle

* Removed the `ExceptionController::templateExists()` method
* Removed the `TemplateManager::templateExists()` method
* Removed the `web_profiler.intercept_redirects` config option,
toolbar for the redirected resource contains a link to the redirect response profile instead.

Workflow
--------
Expand Down
2 changes: 0 additions & 2 deletions src/Symfony/Bundle/WebProfilerBundle/CHANGELOG.md
Expand Up @@ -12,8 +12,6 @@ CHANGELOG
* deprecated the `ExceptionController` in favor of `ExceptionPanelController`
* marked all classes of the WebProfilerBundle as internal
* added a section with the stamps of a message after it is dispatched in the Messenger panel
* deprecated the `web_profiler.intercept_redirects` config option,
toolbar for the redirected resource contains a link to the redirect response profile instead.

4.3.0
-----
Expand Down
Expand Up @@ -36,7 +36,7 @@ public function getConfigTreeBuilder()
$treeBuilder->getRootNode()
->children()
->booleanNode('toolbar')->defaultFalse()->end()
->booleanNode('intercept_redirects')->defaultFalse()->setDeprecated('The "intercept_redirects" option is deprecated since version 4.4 and will be removed in 5.0.')->end()
->booleanNode('intercept_redirects')->defaultFalse()->end()
->scalarNode('excluded_ajax_paths')->defaultValue('^/((index|app(_[\w]+)?)\.php/)?_wdt')->end()
->end()
;
Expand Down

0 comments on commit 3f96ef2

Please sign in to comment.