projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website]
/
vendor
/
symfony
/
routing
/
Matcher
/
RedirectableUrlMatcher.php
diff --git
a/vendor/symfony/routing/Matcher/RedirectableUrlMatcher.php
b/vendor/symfony/routing/Matcher/RedirectableUrlMatcher.php
index 3770a9c24c5e5fe2ec48da714067d72f0097f722..67805205c72cf7096e2384b5e157b853152db1fe 100644
(file)
--- a/
vendor/symfony/routing/Matcher/RedirectableUrlMatcher.php
+++ b/
vendor/symfony/routing/Matcher/RedirectableUrlMatcher.php
@@
-27,7
+27,7
@@
abstract class RedirectableUrlMatcher extends UrlMatcher implements Redirectable
try {
$parameters = parent::match($pathinfo);
} catch (ResourceNotFoundException $e) {
try {
$parameters = parent::match($pathinfo);
} catch (ResourceNotFoundException $e) {
- if ('/' === substr($pathinfo, -1) || !in_array($this->context->getMethod(), array('HEAD', 'GET'))) {
+ if ('/' === substr($pathinfo, -1) || !
\
in_array($this->context->getMethod(), array('HEAD', 'GET'))) {
throw $e;
}
throw $e;
}