• Nginx logs are getting spammed with warnings when visiting /wp-admin/admin.php?page=url_shortify. Please disable whatever script is trying to view the index of /wp-content/plugins/url-shortify/lite/dist/assets/images/browsers/.

    2023/09/24 08:57:08 [error] 16#16: *6700 directory index of "/wp-content/plugins/url-shortify/lite/dist/assets/images/browsers/" is forbidden, client: x.x.x.x, server: , request: "GET /wp-content/plugins/url-shortify/lite/dist/assets/images/browsers/ HTTP/1.1", host: "domain.tld", referrer: "https://domain.tld/wp-admin/admin.php?page=url_shortify"
    2023/09/24 09:10:23 [error] 16#16: *6743 directory index of "/wp-content/plugins/url-shortify/lite/dist/assets/images/browsers/" is forbidden, client: x.x.x.x, server: , request: "GET /wp-content/plugins/url-shortify/lite/dist/assets/images/browsers/ HTTP/1.1", host: "domain.tld", referrer: "https://domain.tld/wp-admin/admin.php?page=url_shortify"
    2023/09/24 09:10:23 [error] 16#16: *6743 directory index of "/wp-content/plugins/url-shortify/lite/dist/assets/images/browsers/" is forbidden, client: x.x.x.x, server: , request: "GET /wp-content/plugins/url-shortify/lite/dist/assets/images/browsers/ HTTP/1.1", host: "domain.tld", referrer: "https://domain.tld/wp-admin/admin.php?page=url_shortify"
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mike L

    (@mikeatkaizencoders)

    Hello,

    Thanks for reaching out to us.

    We will take a look at this issue and update you.

    Thread Starter cim

    (@cim)

    Thread Starter cim

    (@cim)

    Did a bit more digging into the plugin and it looks like wget.svg asset is missing, which explains why this array is missing some values.

    /**
     * Get Browser Name Icon map
     *
     * @return string[]
     *
     * @since 1.0.4
     */
    public static function get_browser_name_icon_map() {
    	return array(
    		'Opera'      => 'opera.svg',
    		'Opera Mini' => 'opera.svg',
    		'WebTV'      => '',
    		'Edge'       => '',
    		'Explorer'   => 'explorer.svg',
    		'Konqueror'  => '',
    		'iCab'       => '',
    		'OmniWeb'    => '',
    		'Firebird'   => 'firebird.svg',
    		'Firefox'    => 'mozilla.svg',
    		'Brave'      => '',
    		'Palemoon'   => '',
    		'Iceweasel'  => '',
    		'Shiretoko'  => '',
    		'Mozilla'    => 'mozilla.svg',
    		'Amaya'      => '',
    		'Lynx'       => '',
    		'Safari'     => 'safari.svg',
    		'iPhone'     => 'apple.svg',
    		'iPod'       => 'apple.svg',
    		'iPad'       => 'apple.svg',
    		'Chrome'     => 'chrome.svg',
    		'Android'    => 'android.svg',
    		'GoogleBot'  => 'robot.svg',
    		'cURL'       => 'curl.svg',
    		'Wget'       => '',
    		'UCBrowser'  => '',
    	);
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable directory index’ is closed to new replies.