Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio LibMan cannot download Remixicon icons from paths with special characters #942

Open
sinand opened this issue Dec 14, 2024 · 0 comments
Assignees

Comments

@sinand
Copy link

sinand commented Dec 14, 2024

Visual Studio LibMan cannot download Remixicon icons from paths with special characters

Description

Unable to install Remixicon package from CDNJS using Library Manager (LibMan) in Visual Studio 2022 due to invalid file paths containing special characters like spaces and ampersands (&) in icon folder names. The downloader fails when attempting to retrieve icon files from paths like "Health & Medical" and "User & Faces".

Steps to Reproduce

  1. Open Visual Studio 2022
  2. Create/open a project
  3. Right-click on project and select "Manage Client-Side Libraries" to open LibMan
  4. Set provider as "cdnjs"
  5. Search for "remixicon" and select version 4.5.0
  6. Attempt to install
  7. Observe failed downloads for icons in folders containing special characters, such as:
    https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.5.0/icons/Health & Medical/mental-health-fill.svg
    https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.5.0/icons/Health & Medical/mental-health-line.svg
    https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.5.0/icons/User & Faces/user-fill.svg
    https://cdnjs.cloudflare.com/ajax/libs/remixicon/4.5.0/icons/User & Faces/user-line.svg
    

Expected Behavior

  • LibMan should properly handle URLs containing special characters
  • All icon files should download successfully regardless of their path names
  • Installation should complete without errors

Environment

  • OS: Windows 11
  • IDE: Visual Studio 2022
  • Package Manager: Library Manager (LibMan)
  • Package Source: CDNJS
  • Package: Remixicon 4.5.0

Additional Context

  • This appears to be a URL encoding issue where special characters in folder names are not being properly escaped during the LibMan download process
  • The problem affects icons within multiple directories containing special characters:
    • "Health & Medical" directory
    • "User & Faces" directory
  • This prevents complete installation of the Remixicon package and access to affected icons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants