16.7 302 Redirect to 'RelayState' URL after consuming a SAML Response is being sent to an incorrect URL

After consuming a SAML response, the browser is redirected to an incorrect URL, check whether the relay state is URL encoded. To fix this issue, have the following entries in the web.xml file as indicated below:

(/var/opt/novell/tomcat5/webapps/nidp/WEB-INF/web.xml)<context-param> <param-name>decodeRelayStateParam</param-name> <param-value>true</param-value></context-param>