Special characters in URL cause missing parameters when being redirected

If special characters (+, /, #, ?, %, &, etc.) are contained in the URL, parameters after the special character will be lost when the URL is being redirected.

Cause: This problem occurs if index.html is used as the entry of application.

Solution: There are two solutions:

  • Use index.htm instead of index.html as the entry of the application. For example, http://url/index.htm?parameter. Do not use http://url/index.html?parameter, or http://url/?parameter.

  • Use MSDN to convert the special characters when inputting the URL.