Issue generating SVG with filenames including ampersands

Created on 9 May 2021, over 3 years ago
Updated 27 September 2024, about 2 months ago

Problem/Motivation

Working with a team on new combined SVG from new SVGs, we noticed that the combined SVG was not generating correctly. The file was created, but had 0 bytes. Kbasarab did some digging and found that we had some files with ampersands. After renaming those files, removing the ampersands, the SVG did generate correctly.

Steps to reproduce

1. Add a file with an ampersand (&) in the filename to the Icon vocabulary
2. Run the drush command to process the SVGs
3. Note that a new SVG is generated in the file system with 0 bytes in size

Proposed resolution

It may be that symbols such as ampersands need to be encoded before the combined SVG is built.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States shrop

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024