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

[vite:build-html] URI malformed #19199

Open
7 tasks done
lubomirblazekcz opened this issue Jan 13, 2025 · 0 comments
Open
7 tasks done

[vite:build-html] URI malformed #19199

lubomirblazekcz opened this issue Jan 13, 2025 · 0 comments

Comments

@lubomirblazekcz
Copy link
Contributor

lubomirblazekcz commented Jan 13, 2025

Describe the bug

href attribute in html that contains #% fails during build, this worked previously in 5.4.2 (not since)

Reproduction

https://stackblitz.com/edit/vitejs-vite-xtansfhc?file=index.html&terminal=dev

Steps to reproduce

run vite build

System Info

System:
    OS: macOS 15.1
    CPU: (10) arm64 Apple M4
    Memory: 1.89 GB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.6.0 - /opt/homebrew/bin/node
    npm: 11.0.0 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 131.0.6778.265
    Safari: 18.1
  npmPackages:
    vite: ^6.0.7 => 6.0.7

Used Package Manager

npm

Logs

No response

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant