diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-10 08:30:02 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-10 08:30:02 -0400 |
commit | e013c06346fd6ad95e7b00a3833a66e6b47d8f44 (patch) | |
tree | e33274e8cd935aad2555636b0d6064ddab5c6c2a /actions | |
parent | d1fc067471a72589c9ae655f67eeea1709e12af5 (diff) |
undo fancy URLs for omb endpoints
The OAuth library uses the $_GET and $_POST arrays for checking
signatures on requests. So, we need to make sure that the client sees
the same request parameters as the server (or callback). These don't
have to be particularly readable URLs, anyways, since they're mostly
"behind the scenes".
darcs-hash:20080610123002-84dde-0bce005b77d053d22cfbba8e0743af1b49f151bb.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/remotesubscribe.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index 64299e27a..d00d48f9e 100644 --- a/actions/remotesubscribe.php +++ b/actions/remotesubscribe.php @@ -308,6 +308,7 @@ class RemotesubscribeAction extends Action { # store all our info here $omb['listenee'] = $user->nickname; + $omb['listener'] = omb_local_id($omb[OAUTH_ENDPOINT_REQUEST]); $omb['token'] = $token; $omb['secret'] = $secret; # call doesn't work after bounce back so we cache; maybe serialization issue...? |