diff options
author | Friendika <info@friendika.com> | 2011-02-24 15:41:15 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-24 15:41:15 -0800 |
commit | 1207bb1b55f402074a73d9ff0221ff8c9a6a285a (patch) | |
tree | 25428c7b2da873cc7812520a29ef4c582a63712f /mod/follow.php | |
parent | f6788dc5f670e852ea9e1be001892527e5ae76dd (diff) | |
download | volse-hubzilla-1207bb1b55f402074a73d9ff0221ff8c9a6a285a.tar.gz volse-hubzilla-1207bb1b55f402074a73d9ff0221ff8c9a6a285a.tar.bz2 volse-hubzilla-1207bb1b55f402074a73d9ff0221ff8c9a6a285a.zip |
silence parse_url on hostile input, need to get_app() for proc_run php location
Diffstat (limited to 'mod/follow.php')
-rw-r--r-- | mod/follow.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/follow.php b/mod/follow.php index f3bd84669..689ae8232 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -84,7 +84,7 @@ function follow_post(&$a) { // Google doesn't use absolute url in profile photos if((x($vcard,'photo')) && substr($vcard['photo'],0,1) == '/') { - $h = parse_url($hcard); + $h = @parse_url($hcard); if($h) $vcard['photo'] = $h['scheme'] . '://' . $h['host'] . $vcard['photo']; } |