验证错误-Google Foobar挑战

时间:2018-07-30 19:09:54

标签: google-foobar

我正处于Google Foobar挑战中。之前一切正常,但是当我今天尝试使用verify solution.py验证代码时收到此错误消息。

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex">
<title>Sign in - Google Accounts</title>
<meta http-equiv="refresh" content="1; 
url=https://www.google.com/accounts/AccountChooser? 
hd=google.com&amp;continue=https%3A%2F%2Fappengine.google.com%2F_ah%2Fconflogin%3Fcontinue%3Dhttps%3A%2F%2Frh-codeservice-dispatcher.googleplex.com%2F_ah%2Fapi%2Fevaluation%2Fv1%2Fevaluate&amp;service=ah"></meta>
</head>
<body >
<form id="hiddenget" action="https://www.google.com/accounts/AccountChooser?hd=google.com&amp;continue=https%3A%2F%2Fappengine.google.com%2F_ah%2Fconflogin%3Fcontinue%3Dhttps%3A%2F%2Frh-codeservice-dispatcher.googleplex.com%2F_ah%2Fapi%2Fevaluation%2Fv1%2Fevaluate&amp;service=ah" method="get">
<noscript>
You should turn on Javascript support.
<input type="submit" id="nojssubmit" value="Continue">
</noscript>
</form>
<script nonce="1yjGSiparGanYqCehz2c/7qRl7Q">
window.onload = function() {
var redirectUrl = 'https:\x2F\x2Fwww.google.com\x2Faccounts\x2FAccountChooser?hd=google.com\x26continue=https%3A%2F%2Fappengine.google.com%2F_ah%2Fconflogin%3Fcontinue%3Dhttps%3A%2F%2Frh-codeservice-dispatcher.googleplex.com%2F_ah%2Fapi%2Fevaluation%2Fv1%2Fevaluate\x26service=ah';
var domain = 'google.com';
var hash = window.location.hash;
if (hash) {
var match = hash.match(/[#&]Email=([^&]+)/);
if (match) {
redirectUrl += "&Email=" + match[1] + "@" + domain;
}
}
window.location.replace(redirectUrl);
};
</script>
</body>
</html>

当我尝试在浏览器中打开此HTML代码时,它要求我登录我的Google帐户,但我已经登录。如果再次登录,页面将一次又一次地重定向到自身。我假设这是Google的某个错误,并且已经使用Foobar中的feedback选项进行了报告。同时,如果有人遇到过这种情况,并且知道如何解决,请提供建议。非常感谢你。

1 个答案:

答案 0 :(得分:0)

Google似乎已解决了该问题。您现在要做的就是编辑解决方案,例如添加一个空格并将其删除,然后保存。验证应该运行。