quanmac
asked on
HttpUtility.UrlEncode Problem
Hello everyone,
I have this problem that I can't seem to figure out.
I generate an email message from my web page and the email message contains a form that has an action url with an encrypted parameter.
I use HttpUtility.UrlEncode to encode the Id parameter.
When I view the souce in the email message, the Id parameter looks like this:
<form method="post" name="FormResponse" action="http://www.....com/.../FormResponse.aspx?Id=h0qVJ%2bkD%2fQghFcvF0zEB4Fu8Ms8UOD8qeDgWoOJ3%2bR71jdHY78UZKfqLODpwt1kD">
When a user gets this email, and submits the form, the Id parameter ends up being:
h0qVJ+kD/QghFcvF0zEB4Fu8Ms 8UOD8qeDgW oOJ3+R71jd HY78UZKfqL ODpwt1kD
Not sure why it's doing this, can anyone help or know how to fix this?
I have this problem that I can't seem to figure out.
I generate an email message from my web page and the email message contains a form that has an action url with an encrypted parameter.
I use HttpUtility.UrlEncode to encode the Id parameter.
When I view the souce in the email message, the Id parameter looks like this:
<form method="post" name="FormResponse" action="http://www.....com/.../FormResponse.aspx?Id=h0qVJ%2bkD%2fQghFcvF0zEB4Fu8Ms8UOD8qeDgWoOJ3%2bR71jdHY78UZKfqLODpwt1kD">
When a user gets this email, and submits the form, the Id parameter ends up being:
h0qVJ+kD/QghFcvF0zEB4Fu8Ms
Not sure why it's doing this, can anyone help or know how to fix this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help, I'm going to take a look at some of my email message forms and see which ones are just better off in the web application instead of the email.