summaryrefslogtreecommitdiffstats
path: root/Http/HttpUtils.php
Commit message (Collapse)AuthorAgeFilesLines
* fixed phpdocFabien Potencier2012-06-261-1/+4
|
* [Security] simplified some codeFabien Potencier2012-06-261-16/+21
|
* [Security] changed the HttpUtils constructor to tak both a UrlGenerator and ↵Fabien Potencier2012-06-261-9/+13
| | | | a UrlMatcher instead of a Router (to make it useable by Silex)
* changed priorities for kernel.request listenersFabien Potencier2011-11-171-19/+0
| | | | | | | The Firewall is now executed after the Router. This was needed to have access to the locale and other request attributes that are set by the Router. This change implies that all Firewall specific URLs have proper (empty) routes like `/login_check` and `/logout`.
* Merge branch '2.0'Fabien Potencier2011-11-141-1/+5
|\ | | | | | | | | | | | | | | | | | | * 2.0: [HttpKernel] fixed Content-Length header when using ESI tags (closes #2623) [HttpFoundation] added an exception to MimeTypeGuesser::guess() when no guesser are available (closes #2636) [Security] fixed HttpUtils::checkRequestPath() to not catch all exceptions (closes #2637) [DoctrineBundle] added missing default parameters, needed to setup and use DBAL without ORM [Transation] Fix grammar. [TwigBundle] Fix trace to not show 'in at line' when file/line are empty.
| * [Security] fixed HttpUtils::checkRequestPath() to not catch all exceptions ↵v2.0.6Fabien Potencier2011-11-141-1/+5
| | | | | | | | (closes #2637)
* | merged 2.0Fabien Potencier2011-11-081-1/+1
|\ \ | |/
| * [Security] Fix checkRequestPath doc; closes #2323Jeremy Mikola2011-11-071-1/+1
| |
* | moved management of the locale from the Session class to the Request classFabien Potencier2011-10-081-5/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The locale management does not require sessions anymore. In the Symfony2 spirit, the locale should be part of your URLs. If this is the case (via the special _locale request attribute), Symfony will store it in the request (getLocale()). This feature is now also configurable/replaceable at will as everything is now managed by the new LocaleListener event listener. How to upgrade: The default locale configuration has been moved from session to the main configuration: Before: framework: session: default_locale: en After: framework: default_locale: en Whenever you want to get the current locale, call getLocale() on the request (was on the session before).
* Fixed the creation of the subrequestsChristophe Coevoet2011-09-181-0/+3
| | | | | | The subrequest must be created using an absolute path to keep the informations about the host and the base path. Closes #2168
* Using the $status parameter instead of fixed value when creating a ↵v2.0.0Henrik Westphal2011-07-241-1/+1
| | | | RedirectResponse.
* fixes several bugsJohannes Schmitt2011-07-191-15/+42
|
* [Security] fixed redirection URLs when using {_locale} in the patternFabien Potencier2011-07-111-0/+13
|
* [Security] tweaked previous commitFabien Potencier2011-07-051-0/+1
|
* [Security] removed a hackFabien Potencier2011-07-051-9/+14
|
* [Security] added an HttpUtils class to manage logic related to Requests and ↵Fabien Potencier2011-06-221-0/+99
Responses This change removes the need for the {_locale} hack. Now, all paths in the Security component can be: * An absolute path (/login) * An absolute URL (http://symfony.com/login) * A route name (login) So, if you want to use a path that includes a global parameter (like _locale), use a route instead of a path.