From 974da7e5f57ced9a4e3183ac599e6d50c4e4c841 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 17 Dec 2012 14:13:37 -0800 Subject: [PATCH] SECURITY: communityhome - can leak photos from people with hidden walls (Thx Chris Case) --- communityhome.tgz | Bin 4043 -> 4023 bytes communityhome/communityhome.php | 1 + 2 files changed, 1 insertion(+) diff --git a/communityhome.tgz b/communityhome.tgz index 129081b613e8d3babac1e5ad3262e5558cf837c1..20f7b9642c0e676d43f9143eb52e1df174bde2ff 100755 GIT binary patch literal 4023 zcmV;o4@mGIiwFScn9ooE1MOUUbK5o&_rKPs*yG8el+oL-j$^r#i`~X|iQRGB_HI(2 zOo@=hny>I-N0Z5Szug5$krWjtt>fI>aqG$=u-F%X9~K~-iRU=6YekE>=ZNmcSD_x# z{{HU9V0UMKFxc7X?d}cscKTedXrn*q?QQS(ceb~;H+uc;y}iK(?0y|{@)U=W5ddsB z#$;v%x0btx&!6q?^}qY>yT`EU5owa^|J+k2^6dxFaZmpbcKQSA|Lwg2vh}dOzrWq< zZ$R%swBJMj=ly>eP6Er1j%u6r#x!;(k>$CK=7-uQK5KuCjPa-shSuy%Y-@6}y9Iu=tSwj(7!5K$bsFg5H@P{BtoPDOr}U#Z=tUS+&4@oR9uU;T&h zYcut&#=j4{NvD4J0M-=hu6J&k@bP19^Kia>RF}3#R%DCAE*21*Kv~3b7~3!*Q-&Ja z7iu^#4s8o8lb_MvOf8J#DDqrTHXj`tFb~9ZsQpztsx$Xt*El-t+EzizphQYZ^TD$D zVK=s=ovw)a`QRwSITeHR$MF9Mx4 zq2#PU<^Usvy2X*KTgn{bBRyRdmp3srO9rUSu$7w6H!a)rj~J(H^XFdV70t>Pe!fMj z)t`x!ZQY1s-=#&$5*(p8kaQ{!vt31eMcp{+j_Q^iLj@y>1L|8N@wcH*t^fYqe-Is? zUjO^MJG+BI{)g-Tpj!VQgATvPUaobYKCQu1I5Qk^056h305l4y{8-2Z1y{%ec!LWe z5H3PGTI32qUo4j!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lt8qKYc2sG^E0s;HuhDypcWiYlt8qKYc2sG^E0s%UHL{{S&;AhrN_001LcD2xCA diff --git a/communityhome/communityhome.php b/communityhome/communityhome.php index 2b14fd33..484842cc 100755 --- a/communityhome/communityhome.php +++ b/communityhome/communityhome.php @@ -105,6 +105,7 @@ function communityhome_home(&$a, &$o){ `user` WHERE `user`.`uid` = `photo`.`uid` AND `user`.`blockwall`=0 + AND `user`.`hidewall` = 0 ORDER BY `photo`.`edited` DESC LIMIT 0, 12", dbesc(t('Contact Photos')), -- 2.39.5