summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-21 16:25:12 -0700
committerBrion Vibber <brion@pobox.com>2010-03-21 16:25:12 -0700
commitfcb614d0eb1f98bf8704654ed06e1f9d9733d359 (patch)
tree7c1dcd44885ed262dc92f58b2968ba6182617a54 /plugins/OStatus/classes
parentb228da628da51337a28ecb1d5f7416717489496c (diff)
Pull <atom:author> info as well as <activity:actor> when we have an old-style ActivityStreams feed. This fixes subscription setup for Cliqset feeds, which currently have a bogus activity:actor/atom:id but a good atom:author/atom:uri
Diffstat (limited to 'plugins/OStatus/classes')
-rw-r--r--plugins/OStatus/classes/Ostatus_profile.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php
index 5595a9d29..e33509c47 100644
--- a/plugins/OStatus/classes/Ostatus_profile.php
+++ b/plugins/OStatus/classes/Ostatus_profile.php
@@ -1170,11 +1170,7 @@ class Ostatus_profile extends Memcached_DataObject
protected static function getActivityObjectProfileURI($object)
{
if ($object->id) {
- // Possibly an upstream bug; tag: URIs are rejected unless you
- // explicitly ask for them. All other schemes are accepted for
- // basic URI validation without asking.
- if (Validate::uri($object->id) ||
- Validate::uri($object->id, array('allowed_scheme' => array('tag')))) {
+ if (ActivityUtils::validateUri($object->id)) {
return $object->id;
}
}