IP Stats lack reverse DNS on 2.2.19

Issue #751 resolved
pje created an issue

Since upgrading to 2.2.19, the hostnames for the IP stats on the dashboard would not display (Chrome 81, Windows). I eventually traced the issue back to a recent change in /opt/admin/app/Resources/views/base.html.twig, which uses only a load event to update the reverse DNS data. Changing the relevant lines as follows (to add the change event) fixed the problem for me:

    // automatic reverses
    $(document).on('load change', 'span[data-reverse]', function(e) {
        $(this).load('/admin/tools/reverse?ip=' + $(this).data('reverse'));
    });

    $(document).on('load change', '[data-load]', function(e) {
        $(this).load($(this).attr('data-load'));
    });

Comments (1)

  1. Log in to comment