Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am using the BeginUmbracoForm html helper method with MVC suface controllers in version 4.11.1
@using (Html.BeginUmbracoForm(RouteConstants.ACN_SEND_MESSAGE, RouteConstants.CTL_CONTACT_US))
The problem I have is that the SSL certificate is installed on the load balancer and not the server. Traffic is secured from the client to load balancer (https) and then forwarded to the web server internally (http). So although the page itself is requested by https the form tag generated by the helper in the response uses http which causes issues with jquery and would also mean that form data will be sent unencrypted.
Example page url in browser: https://dev.mydomain.co.uk/get-in-touch/
Form tag generated by helper: <form action="http://dev.mydomain.co.uk/get-in-touch/" enctype="multipart/form-data" method="post">
All works ok when I deploy to local IIS using self signed certificates. I did consider writing the form tag myself but would need a way of generating the route vals hidden field...
<input name="uformpostroutevals" type="hidden" value="Yz1Db250YWN0VXNTdXJmYWNlJmE9U2VuZE1lc3NhZ2UmYXI9dW1icmFjbw==">
Any of you experts come across the same issue? Any help much appreciated
Did you manage to resolve this John?
We have a similar problem where all the urls are prefixed with http instead of https. Our SSL cert if also applied to the load balancer.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted