aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/rpost.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/rpost.php b/mod/rpost.php
index d7e4f963f..ddcd3c53f 100644
--- a/mod/rpost.php
+++ b/mod/rpost.php
@@ -36,7 +36,8 @@ function rpost_content(&$a) {
// blocks them.
$url = get_rpost_path($a->get_observer());
- if($url) {
+ // make sure we're not looping to our own hub
+ if(($url) && (! stristr($url, $a->get_hostname()))) {
foreach($_REQUEST as $key => $arg) {
$url .= '&' . $key . '=' . $arg;
}