Skip to content

Ship images containing apostrophe do not download #130

Description

@darkgob

Ship images whose filename contains an apostrophe character will not download. I first noticed this with the Jhu'ael Tactical Carrier Warbird, whose filename on the wiki is "Rom_Ship_Jhu'ael.png". I actually still had SETS v2026.03b250 which was able to download this image with the apostrophe URL-encoded ("Rom_Ship_Jhu%27ael.png"), and when I copied the image over into the current version the image loads just fine, so this is strictly a download problem that was introduced sometime after v2026.03b250.

The Amarie Smuggler's Heavy Escort is another example of this problem, but for a slightly different reason. The image filename for this ship on the wiki contains the Unicode character Right Single Quotation Mark (U+2019), whereas the Jhu'ael filename contains a regular apostrophe; regardless, it does not download either.

Surprisingly, the Excelsior Advanced Heavy Cruiser also has this problem. For some baffling reason, its filename according to ships.json is "Federation_Advanced_Heavy_Cruiser.png\u200e". U+200E (Left-To-Right Mark) is a non-printing character so it's weird that it would get into a filename. This appears to be the only ship filename with this particular issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions