File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11This file documents the revision history for Perl extension Mojolicious.
22
330.999928 2010-08-15 00:00:00
4+ - Fixed CGI environment detection for broken web servers.
45 - Fixed redirect_to without content and render_static bug.
56 - Fixed nested partial rendering bug. (yko)
67 - Fixed multiple small Mojo::DOM bugs. (yko)
Original file line number Diff line number Diff line change @@ -145,9 +145,6 @@ sub _detect {
145145 # PSGI (Plack only for now)
146146 return ' psgi' if defined $ENV {PLACK_ENV };
147147
148- # No further detection if we have a name
149- return $name if $name ;
150-
151148 # CGI
152149 return ' cgi'
153150 if defined $ENV {PATH_INFO } || defined $ENV {GATEWAY_INTERFACE };
@@ -156,7 +153,7 @@ sub _detect {
156153 return ' fastcgi' unless defined $ENV {PATH };
157154
158155 # Nothing
159- return ;
156+ return $name ;
160157}
161158
1621591;
You can’t perform that action at this time.
0 commit comments