summaryrefslogtreecommitdiffstats
path: root/apps/user_openid
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-28 20:12:07 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-28 20:12:07 +0200
commitaa33812104d37bd6d7e7de5b1cebdfb63f5ae9d0 (patch)
treee1246763446be7dbdc0b9200deca8199ec55026e /apps/user_openid
parent0d408fe6f540161b9367d7b6abb93965139898a4 (diff)
downloadnextcloud-server-aa33812104d37bd6d7e7de5b1cebdfb63f5ae9d0.tar.gz
nextcloud-server-aa33812104d37bd6d7e7de5b1cebdfb63f5ae9d0.zip
hopefully fix some issues with the openid server
Diffstat (limited to 'apps/user_openid')
-rw-r--r--apps/user_openid/phpmyid.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/user_openid/phpmyid.php b/apps/user_openid/phpmyid.php
index 146eb380f73..bc2950982fa 100644
--- a/apps/user_openid/phpmyid.php
+++ b/apps/user_openid/phpmyid.php
@@ -329,27 +329,27 @@ function checkid ( $wait ) {
user_session();
// Get the options, use defaults as necessary
- $return_to = @strlen($_REQUEST['openid_return_to'])
+ $return_to = isset($_REQUEST['openid_return_to'])
? $_REQUEST['openid_return_to']
- : error_400('Missing return1_to');
+ : error_400('Missing return_to');
- $identity = @strlen($_REQUEST['openid_identity'])
+ $identity = isset($_REQUEST['openid_identity'])
? $_REQUEST['openid_identity']
: error_get($return_to, 'Missing identity');
- $assoc_handle = @strlen($_REQUEST['openid_assoc_handle'])
+ $assoc_handle = isset($_REQUEST['openid_assoc_handle'])
? $_REQUEST['openid_assoc_handle']
: null;
- $trust_root = @strlen($_REQUEST['openid_trust_root'])
+ $trust_root = isset($_REQUEST['openid_trust_root'])
? $_REQUEST['openid_trust_root']
: $return_to;
- $sreg_required = @strlen($_REQUEST['openid_sreg_required'])
+ $sreg_required = isset($_REQUEST['openid_sreg_required'])
? $_REQUEST['openid_sreg.required']
: '';
- $sreg_optional = @strlen($_REQUEST['openid_sreg_optional'])
+ $sreg_optional = isset($_REQUEST['openid_sreg_optional'])
? $_REQUEST['openid_sreg.optional']
: '';