mod_auth_openid
mod_auth_openid copied to clipboard
Redirect to remove openid.ax.mode=fetch_response GET arguments
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!
Hi docwhat,
I've been using mod_rewrite to do this with the condition looking at %{QUERY_STRING}.
Cheers
@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!