We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06b6c9b + 03d89b4 commit b9f3709Copy full SHA for b9f3709
lib/Dancer2/Core/Request.pm
@@ -167,8 +167,8 @@ sub forwarded_host { shift->env->{'HTTP_X_FORWARDED_HOST'} }
167
168
# there are two options
169
sub forwarded_protocol {
170
- $_[0]->env->{'HTTP_X_FORWARDED_PROTOCOL'} ||
171
$_[0]->env->{'HTTP_X_FORWARDED_PROTO'} ||
+ $_[0]->env->{'HTTP_X_FORWARDED_PROTOCOL'} ||
172
$_[0]->env->{'HTTP_FORWARDED_PROTO'}
173
}
174
0 commit comments