Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to remove openid.ax.mode=fetch_response GET arguments #40

Open
docwhat opened this issue Nov 19, 2012 · 2 comments
Open

Redirect to remove openid.ax.mode=fetch_response GET arguments #40

docwhat opened this issue Nov 19, 2012 · 2 comments

Comments

@docwhat
Copy link

docwhat commented Nov 19, 2012

It would be a lot prettier if mod_auth_openid redirected to remove the openid.ax.mode=fetch_response GET arguments. They make the bookmarks, etc. behave weird immediately after logging in.

Example:

https://example.com/?openid.ax.mode=fetch_response&openid.ax.type.email=http%3A%2F%2Fopenid.net%2Fschema%2Fcontact%2Finternet%2Femail&openid.ax.value.email=user%40example.com&openid.ns.ax=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&application_argument=foobar

...should be redirected to...

https://example.com/?application_argument=foobar

Ciao!

@timkent
Copy link

timkent commented Sep 2, 2013

Hi docwhat,

I've been using mod_rewrite to do this with the condition looking at %{QUERY_STRING}.

Cheers

@docwhat
Copy link
Author

docwhat commented Sep 3, 2013

@timkent

How do you do that without losing any other get arguments of interest?

Do you have an example?

It still seems like mod_auth_openid is the "authoritative" source of what can be safely stripped...

Ciao!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants