[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3891) openid fails on port 80

Emmanuel Rousselle (JIRA) jira-events at lists.jboss.org
Mon Jun 8 23:19:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-3891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12471099#action_12471099 ] 

Emmanuel Rousselle commented on JBSEAM-3891:
--------------------------------------------

I've actually done some testing on my own because I experienced a similar issue.

It looks like some browsers will "strip" the port number from the URL if port=80, and others don't. I haven't tested all browsers on all platforms, but on Mac OS X, Firefox 3.0.10 will "remove" the port number, but the lastest Safari 3 won't.

Obviouly, if the return to URL is different from the URL in the browser validation will fail.

The Seam OpenID code does append the port number to the return to URL. I downloaded the source code (2.1.2.CR2) and changed the logic to generate the return to URL so that if won't append the port number if port=80, and it solved my issue.

I've actually seen one other instance where the code that generates the return to URL is sensitive to the port number: the Python OpenID library will do exactly that.

> openid fails on port 80
> -----------------------
>
>                 Key: JBSEAM-3891
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3891
>             Project: Seam
>          Issue Type: Feature Request
>            Reporter: Norman Richards
>            Assignee: Norman Richards
>             Fix For: 2.1.2.CR1
>
>
> See forum posting

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list