projects
/
catagits/Catalyst-Plugin-RequireSSL.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Implemented detach_on_redirect config option.
[catagits/Catalyst-Plugin-RequireSSL.git]
/
t
/
lib
/
TestApp
/
Controller
/
SSL.pm
diff --git
a/t/lib/TestApp/Controller/SSL.pm
b/t/lib/TestApp/Controller/SSL.pm
index
4d9ebf7
..
6dae48f
100644
(file)
--- a/
t/lib/TestApp/Controller/SSL.pm
+++ b/
t/lib/TestApp/Controller/SSL.pm
@@
-25,4
+25,15
@@
sub maybe_secured : Local {
$c->res->output( 'Maybe secured' );
}
+sub test_detach : Local {
+ my ( $self, $c ) = @_;
+
+ $c->require_ssl;
+
+ $c->res->redirect('http://www.mydomain.com/redirect_from_the_action');
+
+ $c->res->output( 'Test detach' );
+}
+
+
1;