nnbelkin / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

recaptchacontrol in .net fails to render in IE 11 #176

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use Recaptcha control with IE 11.

What is the expected output? What do you see instead?

Page does not render correctly.

</script><script type="text/javascript" 
src="http://www.google.com/recaptcha/api/challenge?k=6Lcr3NkSAAAAADHouElxmTHgGya
7zcafiQ0d_HmP&hl=&">

XML5608: Semicolon expected.

What version of the product are you using? On what operating system?

Windows .net recaptcha control   Version released in 2010.    Works OK except 
for IE 11,   no issues with firefox or chrome.

Please provide any additional information below.

Script call should be something like this 

</script><script type="text/javascript" 
src="http://www.google.com/recaptcha/api/challenge?k=6Lcr3NkSAAAAADHouElxmTHgGya
7zcafiQ0d_HmP&amp;hl=&amp;">

IE 11 is evil but we have to support it.

Original issue reported on code.google.com by oo.wara...@gmail.com on 9 Dec 2013 at 5:04

GoogleCodeExporter commented 8 years ago
found:   
https://github.com/Alithis/GroupeAgile2013/blob/master/recaptcha/recaptcha-dotne
t-1.0.5.0-binary/Recaptcha.dll   which gets me further however we get to this 
issue:

document.write('<scr'+'ipt type="text/javascript" s'+'rc="' + 
RecaptchaState.server + 'js/recaptcha.js"></scr'+'ipt>');

SCRIPT256: This command is not supported.

this is from the challenge script sourced from Google.

Original comment by oo.wara...@gmail.com on 9 Dec 2013 at 5:20

GoogleCodeExporter commented 8 years ago
i'm experiencing this exact issue with IE11.  however, i've noticed that it's 
not just the recaptcha plugin.  seems to be that IE11 doesn't like 
"document.write".  has anyone found a fix for this?

Original comment by bfk...@gmail.com on 7 Jan 2014 at 5:45