Try our conversational search powered by Generative AI!

EpiServer.Forms 'send email after submission' feature adds SSL port number to hyperlinks that point to another language version

Found in

EPiServer.Forms 4.25.1

Fixed in

EPiServer.Forms 4.27.0

(Or a related package)

Created

Oct 01, 2019

Updated

Nov 01, 2019

State

Closed, Fixed and tested


Description

Steps to reproduce
1. Create an Alloy demo site Visual Studio extension.
2. Update Episerver's Nuget packages to version 11.13
3. Add the Episerver.Forms nuget package version 4.25.1 to the Alloy project.
4. Configure site so that (see images site_config1.png, site_config2.png)
a) it uses IIS instead of IIS E
b) it uses https instead of http.
c) it has smtp server configurations (in web.config) so you can send email after form submission.
5. Create an SSL certificate for the Alloy demo IIS website and change the IIS site binding to https (port 443).
6. Start the website.
7. Open the Episerver admin view / Manage website (see site_config3.png).
a) Change web site's url to https:
b) Change the website's 'culture' to 'en', 'Type' to 'Primary' and 'Scheme' to 'HTTPS'.
8. Translate the 'About us' page (or another page) to Swedish.
9. Create a new Episerver Form with a text field and submit button.
10. Add new email to "Send email after form submission" from the forms 'Settings' tab (see Email_after_submission-png).
11. In "Edit email template" view, add two links to the "Message" field (see Emai_templage.png).
a) Set the first link: 'Language' to 'English' and to 'Page' select 'About us' page (see Email_link_en.png)
b) Set the second links: 'Language' to 'Swedish' and to 'Page' select (translated) 'About us' page (see Email_link_sv.png)
12. Add the form to a page.
13. Fill and submit the form.
14. Look at the links in the email.

Expected
Links should have url with hostname and https in front of it.

Actual
The first hyperlink contains ab address that starts https://<your.domain>/about-us, and a second hyperlink that contains the address https://<your.domain>:443/sv/<about-us-in-swedish>/. (See images Received_email_link_en.png and Received_email_link_sv.png)