projects
/
catagits/Catalyst-Action-REST.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added fix for RT 63537 (from Gerv) and tests to check it.
[catagits/Catalyst-Action-REST.git]
/
t
/
lib
/
Test
/
Serialize
/
Controller
/
REST.pm
diff --git
a/t/lib/Test/Serialize/Controller/REST.pm
b/t/lib/Test/Serialize/Controller/REST.pm
index
fa1cac2
..
8c1d5f2
100644
(file)
--- a/
t/lib/Test/Serialize/Controller/REST.pm
+++ b/
t/lib/Test/Serialize/Controller/REST.pm
@@
-55,4
+55,10
@@
sub monkey_get : Local : ActionClass('Serialize') {
$c->stash->{'rest'} = { monkey => 'likes chicken!', };
}
+sub xss_get : Local : ActionClass('Serialize') {
+ my ( $self, $c ) = @_;
+ $c->stash->{'rest'} = { monkey => 'likes chicken > sushi!', };
+}
+
+
1;