projects
/
catagits/Catalyst-Action-Serialize-Data-Serializer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a621925
)
Forgot to escape the ?
adam [Tue, 5 Dec 2006 21:00:51 +0000 (21:00 +0000)]
lib/Catalyst/Action/Serialize/YAML/HTML.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Action/Serialize/YAML/HTML.pm
b/lib/Catalyst/Action/Serialize/YAML/HTML.pm
index
54791b4
..
40a04f7
100644
(file)
--- a/
lib/Catalyst/Action/Serialize/YAML/HTML.pm
+++ b/
lib/Catalyst/Action/Serialize/YAML/HTML.pm
@@
-29,7
+29,7
@@
sub execute {
sub {
my($uri, $orig_uri) = @_;
my $newuri;
- if ($uri =~ /?/) {
+ if ($uri =~ /\?/) {
$newuri = $uri . "&content-type=text/html";
} else {
$newuri = $uri . "?content-type=text/html";