aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-30 04:07:47 -0700
committerFriendika <info@friendika.com>2011-03-30 04:07:47 -0700
commitf198c5cff8932bc1d42c34869afecec6dcab2f46 (patch)
tree52bdc24be678dc1c321ce12ac6b0792f95eecb60 /mod
parent4aa60a7aafe1375a97ed4915f56c8ae1b74d0e0f (diff)
downloadvolse-hubzilla-f198c5cff8932bc1d42c34869afecec6dcab2f46.tar.gz
volse-hubzilla-f198c5cff8932bc1d42c34869afecec6dcab2f46.tar.bz2
volse-hubzilla-f198c5cff8932bc1d42c34869afecec6dcab2f46.zip
secure profile failure
Diffstat (limited to 'mod')
-rw-r--r--mod/dfrn_poll.php4
-rw-r--r--mod/dfrn_request.php2
-rw-r--r--mod/oexchange.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php
index bacfe9b94..eb499fbd1 100644
--- a/mod/dfrn_poll.php
+++ b/mod/dfrn_poll.php
@@ -63,7 +63,7 @@ function dfrn_poll_init(&$a) {
if(count($r)) {
- $s = fetch_url($r[0]['poll'] . '?dfrn_id=' . $my_id . '&type=profile-check');
+ $s = fetch_url($r[0]['poll'] . '&dfrn_id=' . $my_id . '&type=profile-check');
logger("dfrn_poll: old profile returns " . $s, LOGGER_DATA);
@@ -366,7 +366,7 @@ function dfrn_poll_content(&$a) {
// URL reply
$s = fetch_url($r[0]['poll']
- . '?dfrn_id=' . $encrypted_id
+ . '&dfrn_id=' . $encrypted_id
. '&type=profile-check'
. '&dfrn_version=' . DFRN_PROTOCOL_VERSION
. '&challenge=' . $challenge
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index 3cd8473cf..f1af1ce4c 100644
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -172,7 +172,7 @@ function dfrn_request_post(&$a) {
$dfrn_request = $contact_record['request'];
if(strlen($dfrn_request) && strlen($confirm_key))
- $s = fetch_url($dfrn_request . '?confirm_key=' . $confirm_key);
+ $s = fetch_url($dfrn_request . '&confirm_key=' . $confirm_key);
// (ignore reply, nothing we can do it failed)
diff --git a/mod/oexchange.php b/mod/oexchange.php
index 8dee1cb99..f97356559 100644
--- a/mod/oexchange.php
+++ b/mod/oexchange.php
@@ -30,7 +30,7 @@ function oexchange_content(&$a) {
$url = (((x($_GET,'url')) && strlen($_GET['url'])) ? notags(trim($_GET['url'])) : '');
- $s = fetch_url($a->get_baseurl() . '/parse_url?url=' . $url);
+ $s = fetch_url($a->get_baseurl() . '/parse_url&url=' . $url);
if(! strlen($s))
return;