prevent loops
This commit is contained in:
parent
ed8f14549f
commit
ad31724fd1
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user