fix syntax error

master
Joey Hess 2008-03-12 10:35:25 -04:00
parent d02e350a69
commit 51ee2a2eab
1 changed files with 2 additions and 2 deletions

View File

@ -149,9 +149,9 @@ sub preprocess (@) { #{{{
push @{$metaheaders{$page}}, '<link href="'.encode_entities($value).
'" rel="openid2.local_id" />';
}
if (exists $params{xrds-location} && safeurl($params{xrds-location})) {
if (exists $params{"xrds-location"} && safeurl($params{"xrds-location"})) {
push @{$metaheaders{$page}}, '<meta http-equiv="X-XRDS-Location"'.
'content="'.encode_entities($params{xrds-location}).'" />';
'content="'.encode_entities($params{"xrds-location"}).'" />';
}
}
elsif ($key eq 'redir') {