aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/rpost.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/rpost.php b/mod/rpost.php
index 2bea18c43..398d2bf0f 100644
--- a/mod/rpost.php
+++ b/mod/rpost.php
@@ -107,6 +107,11 @@ function rpost_content(&$a) {
// ));
+ if($_REQUEST['url']) {
+ $x = z_fetch_url(z_root() . '/parse_url?f=&url=' . urlencode($_REQUEST['url']));
+ if($x['success'])
+ $_REQUEST['body'] = $_REQUEST['body'] . $x['body'];
+ }
$x = array(
'is_owner' => true,