summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Westphal <westphal@secure-net-concepts.de>2011-07-24 03:16:11 -0700
committerHenrik Westphal <westphal@secure-net-concepts.de>2011-07-24 03:16:11 -0700
commit77b520411cafe3f32f1f52d27dd806ee6110504d (patch)
tree0343e7dde6028a487abdf5d80682581305def83a
parentd345e021e13d38d6cdf1340c59cd02ce6971216d (diff)
downloadsymfony-security-2.0.0.zip
symfony-security-2.0.0.tar.gz
symfony-security-2.0.0.tar.bz2
Using the $status parameter instead of fixed value when creating a RedirectResponse.v2.0.0
-rw-r--r--Http/HttpUtils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/HttpUtils.php b/Http/HttpUtils.php
index 3eccb41..a293538 100644
--- a/Http/HttpUtils.php
+++ b/Http/HttpUtils.php
@@ -54,7 +54,7 @@ class HttpUtils
$path = $this->generateUrl($path, true);
}
- return new RedirectResponse($path, 302);
+ return new RedirectResponse($path, $status);
}
/**