Xenforo News Shared IP tab does not have stable ordering resulting in unreliable matching across multiple users

[XFB] Konu Bilgileri

Konu Hakkında Merhaba, tarihinde XenForo kategorisinde News tarafından oluşturulan Shared IP tab does not have stable ordering resulting in unreliable matching across multiple users başlıklı konuyu okuyorsunuz. Bu konu şimdiye dek 4 kez görüntülenmiş, 0 yorum ve 0 tepki puanı almıştır...
Kategori Adı XenForo
Konu Başlığı Shared IP tab does not have stable ordering resulting in unreliable matching across multiple users
Konbuyu başlatan News
Başlangıç tarihi
Cevaplar
Görüntüleme
İlk mesaj tepki puanı
Son Mesaj Yazan News

News

Moderator
Top Poster Of Month
Credits
0
\XF\Repository\Ip::getSharedIpUsers has an odd failure mode where shared ip tab for two users that should show each other do not reliably show each other on the shared IP list.

This is because of a lack of order by clauses in the two queries:

PHP:

Kod:
$recentIps = $db->fetchAllColumn("
    SELECT DISTINCT ip
    FROM xf_ip
    WHERE user_id = ?
       AND log_date > ?
    LIMIT 500
", [$userId, $cutOff]);
This query has no explicit order clause, and with enough matches it is...

Read more

Okumaya devam et...
 

Geri
Üst