Form not working in Publish
We have a form that when submits redirect to a thank you page and sends an email to author. This works fine in author. However in publish when we submit the form we get a forbidden error You don't have permission to access /content/iss/partnernet-lexmark-com/en_us/products/software/education-station/education-station-software-ordering.html on this server.
The error we get in the log is follow :
WARN* [172.31.250.102 [1442393301905] POST /content/iss/partnernet-lexmark-com/en_us/products/software/education-station/education-station-software-ordering.html HTTP/1.1] org.apache.sling.auth.core.AuthUtil isRedirectValid: Redirect target 'https://partnernet.lexmark.com/en_us/products/software/education-station/education-station-software-ordering/order-confirmed.html' must not be an URL
16.09.2015 04:48:22.120 *ERROR* [172.31.250.102 [1442393301905] POST /content/iss/partnernet-lexmark-com/en_us/products/software/education-station/education-station-software-ordering.html HTTP/1.1] com.day.cq.wcm.foundation.forms.impl.MailServlet Invalid redirect specified: https://partnernet.lexmark.com/en_us/products/software/education-station/education-station-software-ordering/order-confirmed.html