The page you requested is invalid.

2,379 views
Skip to first unread message

Pasquale Fedele

unread,
Oct 25, 2011, 5:27:27 AM10/25/11
to google-app...@googlegroups.com

Claudio Cherubino

unread,
Oct 25, 2011, 4:23:27 PM10/25/11
to google-app...@googlegroups.com
Hi Pasquale,

If you only have this problem with Internet Explorer, then it may be due to IE misinterpreting the RelayState parameter:


Also, IE has a maximum allowed length of 2083 characters for URLs, so please check the length of the URLs.
If none of those suggestions matches your problem, try capturing the HTTP traffic with a Firefox extension called LiveHTTPHeaders and share it here (feel free to remove sensitive data) so that we can troubleshoot the issue.
Thanks

Claudio

--
You received this message because you are subscribed to the Google Groups "SAML-based Single Sign On for Google Apps" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-saml-sso/-/742CDpqKFiQJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-saml...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-saml-sso?hl=en.

Pasquale Fedele

unread,
Oct 26, 2011, 1:06:25 PM10/26/11
to google-app...@googlegroups.com
Hi Claudio,

please find attached the headers captured.

Please consider that the problem is not only with Explorer but also with Firefox for Windows (not for Linux), Chrome for Linux (not for Win) and Safari for Mac.

Hope this could help .... it is urgent for us to find a solution.

Thank for your help.

Pasquale

Pasquale Fedele

unread,
Oct 26, 2011, 1:08:14 PM10/26/11
to google-app...@googlegroups.com
If I add the attachement the server gime me an error, I sent you it by email.

Regards
Pasquale

Stafford Marquardt

unread,
Nov 2, 2011, 5:37:28 PM11/2/11
to google-app...@googlegroups.com
Hi Pasquale,

Thanks for your patience about this.  Looking at the final URL that you listed above, it looks like your SSO system is altering the parameters &ltmpl and &ltmplcache in the RelayState in a way that is affecting the "continue" parameter and causing it to reference an invalid URL. Namely, the &lt portion of the &ltmpl parameter is being parsed into a < character by your system. In total, "&ltmpl" becomes "<mpl". Because this removes the & character from the RelayState, the "<mpl" text (or %3Cmpl when it's URL-encoded) gets appended to the end of the "continue" parameter, corrupting the URL that it contains (and sending users to a bogus URL when they attempt to log in). If you reconfigure your SSO system to parse the RelayState properly, it should not have a problem with such parameters.  Hope that helps!

Cheers,
Stafford
Message has been deleted
Message has been deleted

Nick Hood

unread,
Nov 7, 2011, 3:52:53 PM11/7/11
to google-app...@googlegroups.com
We were having the same exact issue Pasquale.  It is FIXED now!!!

Working off of what you said Stafford, we concluded the RelayState character needed to be changed from %3C to &%3C for other browsers to understand properly.  I am not sure why this stopped suddenly, anyone have any ideas?

Thanks again Stafford!

Liquidweb Admin

unread,
Nov 8, 2011, 3:31:41 AM11/8/11
to google-app...@googlegroups.com
Another way, the one we used to solve the problem, is to use the HTTPS url instead of HTTP: https://mail.google.com/a/unisi.it

Regards,
Pasquale

crisdeo...@unochapeco.edu.br

unread,
May 15, 2015, 10:15:04 AM5/15/15
to google-app...@googlegroups.com
Hi Pasquale,
here solved. We change our page that receive data from SAMLRequest (params RelayState and SAMLResponse) and put data using htmlspecialchars() function, php language.

This is a stupid error =/, but we solved :D

Nedyalko Zhekov

unread,
Sep 9, 2015, 5:04:22 AM9/9/15
to SAML-based Single Sign On for Google Apps
Thanks guys. We had the very same behavior and our solution was also to use htmlspecialchars() (in PHP) before sending the request to ACS. You helped me alot! Thank you once again!
Ned
Reply all
Reply to author
Forward
0 new messages