mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
fix issue #4148 on download image cards with quotation mark in names
This commit is contained in:
parent
451d697307
commit
62aed011a3
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ public final class CardImageUtils {
|
|||
String imageName;
|
||||
|
||||
String type = card.getType() != 0 ? ' ' + Integer.toString(card.getType()) : "";
|
||||
String name = card.getFileName().isEmpty() ? card.getName().replace(":", "").replace("//", "-") : card.getFileName();
|
||||
String name = card.getFileName().isEmpty() ? card.getName().replace(":", "").replace("\"", "").replace("//", "-") : card.getFileName();
|
||||
|
||||
if (card.getUsesVariousArt()) {
|
||||
imageName = name + '.' + card.getCollectorId() + ".full.jpg";
|
||||
|
|
Loading…
Reference in a new issue