This is not a very important issue. Patch adds encoding, dtd and fixes noscript containing an input element.

Comments

aspilicious’s picture

Status: Active » Needs review

Can use a review

dries’s picture

+++ modules/openid/openid.inc
@@ -79,7 +79,12 @@ function openid_redirect_http($url, $message) {
+  global $language;
+  $output = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
+  $output .= '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . $language->language . '" lang="' . $language->language . '">';
+  $output .= '<head>';
+  $output .= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
+  $output .= '<title>' . t('OpenID redirect') . "</title></head>\n<body>";

This could use better formatting, IMO. Like, why do we add </head> and <body> on the same line as <title>?

dirtabulous’s picture

StatusFileSize
new1.53 KB

Patch fix appears correct, but is outdated. Rerolled patch and reformatted per Dries comments. All tags on new line.

dirtabulous’s picture

StatusFileSize
new1.76 KB

Left out a line. Patch updated.

mtift’s picture

Status: Needs review » Reviewed & tested by the community

Applied the patch and it passed all of the tests.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Formatting was Dries's only complaint, and it looks better now.

Ergo, Committed to HEAD! Welcome to the core team, dirtabulous! :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.