mirror of
https://github.com/plexusorg/Module-HTTPD.git
synced 2024-11-21 11:15:01 +00:00
B R U H
This commit is contained in:
parent
a257fb2f9c
commit
e9395e193a
@ -78,7 +78,7 @@ public class SchematicDownloadEndpoint extends AbstractServlet
|
||||
for (File worldeditFile : listFilesForFolder(worldeditFolder))
|
||||
{
|
||||
String fixedPath = worldeditFile.getPath().replace("plugins/FastAsyncWorldEdit/schematics/", "");
|
||||
fixedPath.replace("plugins/WorldEdit/schematics/", "");
|
||||
fixedPath = fixedPath.replace("plugins/WorldEdit/schematics/", "");
|
||||
String sanitizedName = fixedPath.replaceAll("<", "<").replaceAll(">", ">");
|
||||
sb.append(" <tr>\n" +
|
||||
" <th scope=\"row\">\n <a href=\"" + fixedPath + "\" download>" + sanitizedName + "</a>\n </th>\n" +
|
||||
|
Loading…
Reference in New Issue
Block a user