summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-10 08:30:02 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-10 08:30:02 -0400
commite013c06346fd6ad95e7b00a3833a66e6b47d8f44 (patch)
treee33274e8cd935aad2555636b0d6064ddab5c6c2a /lib
parentd1fc067471a72589c9ae655f67eeea1709e12af5 (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 'lib')
-rw-r--r--lib/util.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/util.php b/lib/util.php
index 900fd9a58..7d27c1090 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -494,15 +494,6 @@ function common_fancy_url($action, $args=NULL) {
case 'subscribe':
case 'unsubscribe':
return common_path('main/'.$action);
- case 'accesstoken':
- case 'requesttoken':
- case 'postnotice':
- case 'userauthorization':
- return common_path('omb/'.$action);
- case 'remotesubscribe':
- return common_path('omb/subscribe');
- case 'finishremotesubscribe':
- return common_path('omb/finish');
case 'avatar':
case 'password':
return common_path('settings/'.$action);