kasunkv / recaptcha

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

Patch for /trunk/recaptcha-plugins/dotnet/library/RecaptchaControlMvc.cs #151

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Allow overrideSecureMode to be specified when using this MVC helper.

[Users may need this ability to force the use of SSL when SSL offloading masks 
the fact that originating requests are indeed secure.]

Original issue reported on code.google.com by jptse...@gmail.com on 17 Sep 2012 at 2:59

GoogleCodeExporter commented 8 years ago
This issue is described in the top answer on stackoverflow here: 
http://stackoverflow.com/questions/7826292/asp-net-recaptcha-in-internet-explore
r-ssl-warning-message

In the case of systems that are behind a reverse proxy doing SSL offloading, 
the MVC helper code does not provide a mechanism to pass in the 
overrideSecureMode flag.  In the absence of this flag, there's no way to force 
the control to use HTTPS.

Original comment by jptse...@gmail.com on 17 Sep 2012 at 3:03

GoogleCodeExporter commented 8 years ago
Constructing a new correct patch -- sorry for the delay.

Original comment by jptse...@gmail.com on 17 Sep 2012 at 3:32

GoogleCodeExporter commented 8 years ago
I actually needed this fix in RecaptchaControl.cs, and in fact it was already 
made a long time ago and our library was simply out of date.  Apologies for the 
noise, please close/delete this issue.

Original comment by jptse...@gmail.com on 17 Sep 2012 at 3:41

GoogleCodeExporter commented 8 years ago

Original comment by adrian.g...@gmail.com on 3 Aug 2013 at 1:44