Larry Garfield
0e3671bbe7
[WiP] Split urlmatcher for easier overriding
2012-12-03 23:07:55 +01:00
Tobias Schultze
1e1cb13faf
[Routing] added more phpdoc and replaced 'array of type' by 'Type[]'
2012-11-12 16:14:50 +01:00
Tobias Schultze
7ed3013a5b
switch to array_replace instead of array_merge
...
we don't need the logic to merge numeric keys, as we don't have them. I could also improve the genrated code by PhpMatcherDumper a little by saving a function call.
2012-11-12 11:54:29 +01:00
Arnaud Le Blanc
6cd34570d7
fixed CS
2012-11-12 11:35:46 +01:00
Fabien Potencier
11b4378238
[Routing] added hostname support in UrlMatcher
2012-11-12 11:14:24 +01:00
Tobias Schultze
7447ef7171
slight refactoring in UrlMatcher
2012-10-26 12:26:42 +03:00
Pascal Borreli
4c726ea64c
Fixed Phpdoc
2012-07-28 16:07:17 +00:00
Fabien Potencier
d100ffaf76
fixed CS
2012-07-09 14:54:20 +02:00
Fabien Potencier
16976be8ce
[Routing] fixed indentation
2012-07-01 18:56:00 +02:00
Tobias Schultze
680e732a9e
[Routing] fix phpDoc
...
using inheritdoc where possible and removing api tag when parent interface has one
2012-06-10 21:30:17 +02:00
Ph3nol
a6d32de181
UrlMatcher class indent and doc fixes
2012-06-02 13:54:03 +02:00
Fabien Potencier
41621e42e9
fixed phpdoc @param alignment
2012-05-15 22:19:31 +02:00
Victor Berchet
55014a6841
[Routing] Request methods always return a raw path, fix the matcher to decode only once
...
sq
2012-04-10 10:40:58 +02:00
Victor Berchet
4fcf9efe65
[Routing] Small optimization in the UrlMatcher
2012-02-10 09:49:34 +01:00
Victor Berchet
abc2141d5b
[Routing] Added a missing property declaration
2012-02-10 09:49:34 +01:00
Victor Berchet
d86e1eb71c
[Routing] Remove a weird dependency
2012-02-10 09:49:25 +01:00
Fabien Potencier
2b5d4b90d8
merged 2.0
2011-11-24 07:16:52 +01:00
Fabien Potencier
5878490b16
removed unused use statements
2011-11-24 07:16:14 +01:00
dbu
57040a8703
document exceptions on the interfaces, inheritDoc on implementations, use statements instead of fully qualified exception names
2011-11-08 08:47:17 +01:00
Fabien Potencier
c5ca40c711
[Routing] added support for _scheme requirement in UrlMatcher (see 07aae98495
)
2011-10-22 08:04:10 +02:00
Jordi Boggiano
761724ae57
[Routing] Adjust urlescaping rules, fixes #752
...
Only + and % are now encoded in generated routes, since they are the only characters that, if not encoded, could cause problems/conflicts when decoded. Namely + turns into a space, and % followed by numbers could do funky things.
The matcher decodes everything which works since nothing will have %NN without being escaped, and + are escaped as well.
2011-06-29 03:39:54 +02:00
Fabien Potencier
72483f946b
[Routing] tagged the public @api
2011-06-14 15:35:32 +02:00
Fabien Potencier
c72537da6b
[Routing] fixed route matching when the prefix contains variables
2011-06-04 19:45:54 +02:00
Fabien Potencier
c561f4f0c0
[Routing] changed HTTP method to always be uppercased (to be consistent with HttpFoundation/Request)
2011-06-04 19:06:39 +02:00
Fabien Potencier
f9ffdf5b33
[Routing] added proper support for the HEAD method
2011-06-04 12:47:38 +02:00
Fabien Potencier
2cd04547fd
[Routing] renamed some exceptions
2011-05-17 16:52:02 +02:00
Fabien Potencier
02e77ec4e3
[Routing] moved Matcher exceptions
2011-05-17 10:11:27 +02:00
Fabien Potencier
c7fddca891
replaced some url..code by rawurl..code
2011-05-03 23:06:55 +02:00
Fabien Potencier
944a98086e
[Routing] optimized PHP route dumper
2011-04-25 17:45:59 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Fabien Potencier
813627bd4c
[Routing] added getContext() accessor
2011-04-21 21:20:27 +02:00
Fabien Potencier
f7d44148df
[Routing] removed unused defaults variable
2011-04-20 22:55:23 +02:00
Fabien Potencier
117321d3c6
replaced array for request context in Routing by a RequestContext class
2011-04-20 14:19:32 +02:00
Fabien Potencier
b5857528e0
[Routing] moved protected to private
2011-03-23 19:25:56 +01:00
Fabien Potencier
e159c47cc9
[Routing] fixed UrlMatcher when no method requirement is defined
2011-03-22 20:56:55 +01:00
Kris Wallsmith
b2f5ac8beb
[Routing] refactored URL matching to support 405 Method Not Allowed responses
2011-03-21 05:56:53 -07:00
Fabien Potencier
dded1955e4
[Routing] fixed the / problem in a URL segment
2011-03-09 23:57:26 +01:00
Fabien Potencier
17ef911f19
[Routing] removed the normalizeUrl() method and renamed url to pathinfo as this is more correct
2011-03-09 17:25:44 +01:00
Jordi Boggiano
4c0ea6179b
[Routing] UrlMatcher shouldn't collapse multiple slashes
...
* fixes a problem with security (/foo/bar and /foo///bar are not the same URL as far as security is concerned)
* this can still be done in your web server configuration or by adding a core.request listener
2011-03-09 17:07:12 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Fabien Potencier
e16c666266
[Routing] made an empty path info to redirect to / (as for any other route that ends with a /)
2011-02-26 08:56:44 +01:00
Fabien Potencier
f46c6f7e45
[Routing] fixed the %2f problem in URLs
2011-02-25 18:01:32 +01:00
Fabien Potencier
9619c7dade
[Routing] removing the routing hack where we add a / at the beginning if it does not exist
2011-02-21 10:25:22 +01:00
Fabien Potencier
ca8c7907e2
[Routing] added setContext() method to both matchers and generators
2011-01-24 16:59:32 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Ryan Weaver
739ebf92f5
[Routing] Changing the _method route requirement to be a regular expression so that it's consistent with all other requirements.
...
Unlike all other requirements, the _method regex requirement is case-insensitive.
2010-11-27 11:48:57 +01:00
Ryan Weaver
5aa6ad28ae
Updating RouteCollection::getRoutes() call to RouteCollection::getAll() in many places.
2010-11-26 14:43:12 +01:00
Kris Wallsmith
f79e23ffb5
Removed all those spaces after @author that were bothering me so…
2010-10-18 16:55:41 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00