Try to ensure full paths don't leak into xchan_addr and hubloc_addr

This commit is contained in:
friendica
2013-08-25 20:11:49 -07:00
parent df3cf811f0
commit 7546117388
2 changed files with 6 additions and 1 deletions

View File

@@ -138,7 +138,7 @@ function zot_finger($webbie,$channel) {
$r = q("select xchan.*, hubloc.* from xchan
left join hubloc on xchan_hash = hubloc_hash
where xchan_addr = '%s' and (hubloc_flags & %d) limit 1",
dbesc($xchan_address),
dbesc($xchan_addr),
intval(HUBLOC_FLAGS_PRIMARY)
);