Exploit database

GH-9a017fa45abc7e1f8f6ba6e1285cae54

iplayforsg/cve-2023-51444

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-51444

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files9

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

extension/monitor/core/src/main/java/org/geoserver/monitor/rest/MonitorMediaTypeCallback.java

Java · 796 bytes
/* (c) 2017 Open Source Geospatial Foundation - all rights reserved
 * This code is licensed under the GPL 2.0 license, available at the root
 * application directory.
 */
package org.geoserver.monitor.rest;

import org.geoserver.rest.MediaTypeCallback;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer;

@Component
public class MonitorMediaTypeCallback implements MediaTypeCallback {

    @Override
    public void configure(ContentNegotiationConfigurer configurer) {
        configurer.mediaType("csv", MonitorRequestController.CSV_MEDIATYPE);
        configurer.mediaType("zip", MonitorRequestController.ZIP_MEDIATYPE);
        configurer.mediaType("xls", MonitorRequestController.EXCEL_MEDIATYPE);
    }
}