Exploit databaseDownload repository ZIP
GH-9a017fa45abc7e1f8f6ba6e1285cae54
iplayforsg/cve-2023-51444
Sources for CVE-2023-51444
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files6
iplayforsg/cve-2023-51444Revision 5cd0aeccb789
- ↑..Parent directory
- IOUtils.java
- MediaTypeExtensions.java
- RESTUploadExternalPathMapper.java
- RESTUploadPathMapper.java
- RESTUploadPathMapperImpl.java
- RESTUtils.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
rest/src/main/java/org/geoserver/rest/util/RESTUploadPathMapperImpl.java
Java · 1,407 bytes/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
* (c) 2014 OpenPlans
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.rest.util;
import java.io.IOException;
import java.util.Map;
import org.geoserver.catalog.Catalog;
/**
* Abstract implementation of the {@link RESTUploadPathMapper} interface which does not remap the
* input root and file path. All the various {@link RESTUploadPathMapper} implementations should
* extend this base class.
*
* @author Nicola Lagomarsini Geosolutions S.A.S.
*/
public abstract class RESTUploadPathMapperImpl implements RESTUploadPathMapper {
/** Catalog object used for searching the various settings inside the metadata map */
protected Catalog catalog;
public RESTUploadPathMapperImpl(Catalog catalog) {
this.catalog = catalog;
}
@Override
public void mapStorePath(
StringBuilder rootDir, String workspace, String store, Map<String, String> storeParams)
throws IOException {}
@Override
public void mapItemPath(
String workspace,
String store,
Map<String, String> storeParams,
StringBuilder itemPath,
String itemName)
throws IOException {}
public void setCatalog(Catalog catalog) {
this.catalog = catalog;
}
}